// Email templates for contact form submissions export const createContactEmailTemplate = ({ fullName, email, subject, message, senderIP, userAgent, timestamp, }) => { // HTML template const html = ` New Portfolio Contact

🚀 New Portfolio Contact

You've received a new message through your portfolio contact form!

👤 From:
${fullName}
📧 Email:
📋 Subject:
${subject}
💬 Message:
${message}
💡 Quick Reply: You can reply directly to this email to respond to ${fullName}.

📅 Received: ${new Date( timestamp ).toLocaleString()}

🌐 IP Address: ${senderIP}

🔧 User Agent: ${ userAgent || 'Not provided' }

`; // Plain text version const text = ` NEW PORTFOLIO CONTACT ===================== From: ${fullName} Email: ${email} Subject: ${subject} Message: -------- ${message} Metadata: --------- Received: ${new Date(timestamp).toLocaleString()} IP Address: ${senderIP} User Agent: ${userAgent || 'Not provided'} You can reply directly to this email to respond to the sender. `; return { html, text }; };