// Email templates for contact form submissions
export const createContactEmailTemplate = ({
fullName,
email,
subject,
message,
senderIP,
userAgent,
timestamp,
}) => {
// HTML template
const html = `
New Portfolio Contact
💡 Quick Reply: You can reply directly to this email to respond to ${fullName}.
`;
// 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 };
};