commit 71ff2503be1a22911bfa96757c829968d090f6d6
parent 6c43377a9792595d11a8132dbaa5e1b0a2f2dfb9
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date: Sun, 22 Feb 2026 15:47:12 +0530
Update email template styles and content
Diffstat:
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/server.js b/server.js
@@ -102,10 +102,16 @@ app.post('/api/incoming', express.text({ type: 'application/json' }), async (req
</div>
<!-- Field: Subject -->
- <div style="margin-bottom: 32px;">
+ <div style="margin-bottom: 24px;">
<span style="display: block; font-size: 12px; font-weight: 500; color: #A8C7FA; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;">Subject</span>
<span style="display: block; font-size: 18px; color: #E3E3E3; font-weight: 500; line-height: 1.4;">${subject}</span>
</div>
+
+ <!-- Field: Email ID -->
+ <div style="margin-bottom: 32px;">
+ <span style="display: block; font-size: 12px; font-weight: 500; color: #A8C7FA; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;">Email_ID</span>
+ <span style="display: block; font-size: 14px; color: #C4C7C5; font-family: monospace;">${emailData.email_id || 'N/A'}</span>
+ </div>
</td>
</tr>
@@ -116,7 +122,7 @@ app.post('/api/incoming', express.text({ type: 'application/json' }), async (req
<tr>
<td align="center" style="border-radius: 100px; background-color: #A8C7FA;">
<!-- M3 Filled Button -->
- <a href="https://resend.com/emails/${emailData.email_id}" target="_blank" style="display: inline-block; padding: 12px 28px; font-family: 'Google Sans', Roboto, Arial, sans-serif; font-size: 14px; font-weight: 500; color: #062E6F; text-decoration: none; border-radius: 100px;">
+ <a href="https://resend.com/emails/${emailData.email_id}" target="_blank" style="display: inline-block; padding: 12px 28px; font-family: 'Google Sans', Roboto, Arial, sans-serif; font-size: 14px; font-weight: 500; color: #000000; text-decoration: none; border-radius: 100px;">
Open Resend Dashboard
</a>
</td>
@@ -148,7 +154,7 @@ app.post('/api/incoming', express.text({ type: 'application/json' }), async (req
</td>
<td style="padding: 0 12px;">
<a href="https://github.com/notamitgamer" target="_blank" style="text-decoration: none;" title="GitHub">
- <img src="https://img.icons8.com/ios-filled/24/8E918F/github.png" alt="GitHub" width="20" height="20" style="display: block; border: 0;">
+ <svg height="20" viewBox="0 0 16 16" width="20" fill="#8E918F" xmlns="http://www.w3.org/2000/svg" style="display: block; border: 0;"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
</a>
</td>
<td style="padding: 0 12px;">