export function getEmailTemplate(title: string, content: string, actionLink?: string, actionText?: string) {
  return `
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <style>
    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; }
    .container { max-width: 600px; margin: 0 auto; padding: 20px; border: 1px solid #eee; border-radius: 8px; background: #fff; }
    .header { text-align: center; margin-bottom: 30px; }
    .logo { color: #f59e0b; font-size: 24px; font-weight: bold; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; }
    .button { display: inline-block; padding: 12px 24px; background-color: #f59e0b; color: white !important; text-decoration: none; border-radius: 6px; font-weight: bold; margin: 20px 0; }
    .footer { margin-top: 30px; font-size: 12px; color: #888; text-align: center; border-top: 1px solid #eee; padding-top: 20px; }
  </style>
</head>
<body>
  <div className="container">
    <div className="header">
      <a href="${process.env.NEXTAUTH_URL}" className="logo">
        📒 Memento
      </a>
    </div>
    <h1>${title}</h1>
    <div>
      ${content}
    </div>
    ${actionLink ? `<div style="text-align: center;"><a href="${actionLink}" className="button">${actionText || 'Click here'}</a></div>` : ''}
    <div className="footer">
      <p>This email was sent from your Memento instance.</p>
    </div>
  </div>
</body>
</html>
  `;
}
