ghostguild-org/server/emails/welcome.js

29 lines
No EOL
1 KiB
JavaScript

// server/emails/welcome.js
export const welcomeEmail = (member) => ({
from: 'Ghost Guild <welcome@ghostguild.org>',
to: member.email,
subject: 'Welcome to Ghost Guild! 👻',
html: `
<div style="font-family: sans-serif; max-width: 600px; margin: 0 auto;">
<h1>Welcome to the community, ${member.name}!</h1>
<p>You've joined the <strong>${member.circle} circle</strong>
with a ${member.contributionTier}/month contribution.</p>
<h2>Your next steps:</h2>
<ol>
<li>Watch for your Slack invite (within 24 hours)</li>
<li>Explore the <a href="https://ghostguild.org/members/resources">resource library</a></li>
<li>Introduce yourself in #introductions</li>
</ol>
<p>Thank you for being part of our solidarity economy!</p>
<hr style="margin: 30px 0; border: 1px solid #eee;">
<p style="color: #666; font-size: 14px;">
Questions? Reply to this email or reach out in Slack.
</p>
</div>
`
})