Update routes/support.py
Browse files- routes/support.py +2 -2
routes/support.py
CHANGED
@@ -195,7 +195,7 @@ async def respond_ticket(
|
|
195 |
user_name = user_data[0].get("name", "user").strip()
|
196 |
first_name = user_name.split(" ")[0] if user_name else "user"
|
197 |
|
198 |
-
# 4. Send email with clean, elegant HTML template
|
199 |
access_token = await get_gmail_access_token()
|
200 |
subject = f"Customer Support - Case {payload.ticket_id}"
|
201 |
|
@@ -212,7 +212,7 @@ async def respond_ticket(
|
|
212 |
<td align="center" style="padding:40px 10px;">
|
213 |
<table width="600" cellpadding="0" cellspacing="0" border="0" style="background:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,0.1);">
|
214 |
<tr>
|
215 |
-
<td style="height:5px;background:linear-gradient(to right, #
|
216 |
</tr>
|
217 |
<tr>
|
218 |
<td style="padding:30px 40px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1.6;color:#333333;">
|
|
|
195 |
user_name = user_data[0].get("name", "user").strip()
|
196 |
first_name = user_name.split(" ")[0] if user_name else "user"
|
197 |
|
198 |
+
# 4. Send email with clean, elegant HTML template with brand purple gradient
|
199 |
access_token = await get_gmail_access_token()
|
200 |
subject = f"Customer Support - Case {payload.ticket_id}"
|
201 |
|
|
|
212 |
<td align="center" style="padding:40px 10px;">
|
213 |
<table width="600" cellpadding="0" cellspacing="0" border="0" style="background:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,0.1);">
|
214 |
<tr>
|
215 |
+
<td style="height:5px;background:linear-gradient(to right, #6E2FC6, #9662D9);"></td>
|
216 |
</tr>
|
217 |
<tr>
|
218 |
<td style="padding:30px 40px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1.6;color:#333333;">
|