ChatbotX sends transactional emails using Nodemailer over SMTP. Emails are triggered for the following events:Documentation Index
Fetch the complete documentation index at: https://chatbotx.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Sign-up email verification
- Sign-in magic link
- Password reset
Email sending is required for authentication flows. Users will not be able to verify their account or use magic link login until a working SMTP connection is configured.
Environment variables
Two variables control email delivery:SMTP_SERVER
smtp:// (plain/STARTTLS on port 587) and smtps:// (implicit TLS on port 465). Required.
NEXT_PUBLIC_SMTP_FROM
From address shown to recipients for all outgoing emails. Required.
Providers
MailHog (local development)
MailHog is included in the Docker Compose development stack. It catches all outgoing emails and displays them in a web UI — no real delivery occurs.Gmail
- Go to your Google Account → Security → App passwords
- Generate a new app password for “Mail”
- Configure your
.env:
AWS SES
- Verify your sending domain or address in the SES console
- Create SMTP credentials under SES → SMTP settings → Create SMTP credentials
- Configure your
.env:
us-east-1 with your SES region.
Resend
Resend exposes an SMTP interface compatible with Nodemailer.- Sign up at resend.com and verify your sending domain
- Create an API key
- Configure your
.env:
Mailgun
- Add and verify your domain in the Mailgun dashboard
- Go to Sending → Domain settings → SMTP credentials
- Configure your
.env:
Postmark
- Create a Sender Signature for your
Fromaddress - Find your SMTP credentials in the server settings
- Configure your
.env: