Email Setup
Configure email service for your Flowless instance to send verification emails, password resets, and notifications.
Overview
Flowless includes an integrated email service powered by ZeptoMail for sending:
- Email verification
- Password reset
- Welcome emails
- Account notifications
Default Email Service
ZeptoMail (Included)
All Flowless instances come with ZeptoMail pre-configured:
- Free Plan: 1,000 emails/month
- Pro Plan: 10,000 emails/month
- Enterprise Plan: Unlimited or custom SMTP
No configuration required - emails work out of the box!
Email Configuration
Access Email Settings
- Log in to Pubflow.com
- Navigate to your Flowless instance
- Go to Settings → Email
Email Templates
Available Templates
Flowless provides customizable email templates:
1. Email Verification
Subject: Verify your email address
Content:
Hi {{name}},
Welcome to {{app_name}}!
Please verify your email address by clicking the link below:
{{verification_link}}
This link will expire in 24 hours.
If you didn't create an account, you can safely ignore this email.
Thanks,
The {{app_name}} Team2. Password Reset
Subject: Reset your password
Content:
Hi {{name}},
We received a request to reset your password for {{app_name}}.
Click the link below to reset your password:
{{reset_link}}
This link will expire in 1 hour.
If you didn't request a password reset, you can safely ignore this email.
Thanks,
The {{app_name}} Team3. Welcome Email
Subject: Welcome to !
Content:
Hi {{name}},
Welcome to {{app_name}}! We're excited to have you on board.
Here are some helpful links to get started:
- Dashboard: {{dashboard_link}}
- Documentation: {{docs_link}}
- Support: {{support_link}}
If you have any questions, feel free to reach out to our support team.
Thanks,
The {{app_name}} TeamCustomizing Email Templates
Template Variables
Available variables in all templates:
| Variable | Description | Example |
|---|---|---|
| User's first name | John |
| User's email | user@example.com |
| Your app name | My App |
| Email verification link | https://... |
| Password reset link | https://... |
| Dashboard URL | https://app.myapp.com |
| Documentation URL | https://docs.myapp.com |
| Support URL | https://support.myapp.com |
Edit Templates
- Go to Settings → Email → Templates
- Select the template to edit
- Modify the subject and content
- Use
for dynamic content - Preview the template
- Save changes
Email Settings
Sender Information
Configure the sender details:
{
"from_name": "My App",
"from_email": "noreply@myapp.com",
"reply_to": "support@myapp.com"
}TIP
Use a professional email address for better deliverability.
Email Verification
Configure email verification behavior:
{
"verification_required": true,
"verification_link_expiry_hours": 24,
"send_welcome_email": true
}Options:
- Required: Users must verify before login
- Optional: Users can login without verification
- Disabled: No verification emails sent
Password Reset
Configure password reset settings:
{
"reset_link_expiry_hours": 1,
"max_reset_attempts": 3
}Custom SMTP (Enterprise)
Configure Custom SMTP
For Enterprise plans, you can use your own SMTP server:
{
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"smtp_secure": true,
"smtp_user": "your-email@gmail.com",
"smtp_password": "your-app-password",
"from_email": "noreply@yourdomain.com",
"from_name": "Your App"
}Supported SMTP Providers
- Gmail: smtp.gmail.com:587
- SendGrid: smtp.sendgrid.net:587
- Mailgun: smtp.mailgun.org:587
- AWS SES: email-smtp.us-east-1.amazonaws.com:587
- Custom: Any SMTP server
Gmail Setup
- Enable 2-factor authentication
- Generate an App Password
- Use App Password in SMTP settings
{
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"smtp_secure": true,
"smtp_user": "your-email@gmail.com",
"smtp_password": "your-app-password"
}Testing Email
Send Test Email
- Go to Settings → Email → Test
- Enter a test email address
- Select template to test
- Click Send Test Email
- Check your inbox
Test via API
curl -X POST https://your-instance.pubflow.com/test/send-email \
-H "Content-Type: application/json" \
-H "X-Admin-Key: your_admin_key" \
-d '{
"to": "test@example.com",
"template": "verification",
"data": {
"name": "Test User",
"verification_link": "https://example.com/verify"
}
}'Email Deliverability
Best Practices
- Use a custom domain (not @gmail.com)
- Set up SPF records
- Set up DKIM records
- Set up DMARC records
- Monitor bounce rates
- Keep email list clean
DNS Records
Add these DNS records for better deliverability:
SPF Record
Type: TXT
Name: @
Value: v=spf1 include:_spf.zeptomail.com ~allDKIM Record
Type: TXT
Name: zeptomail._domainkey
Value: [Provided by ZeptoMail]DMARC Record
Type: TXT
Name: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.comMonitoring Email
Email Analytics
View email statistics in the dashboard:
- Sent: Total emails sent
- Delivered: Successfully delivered
- Bounced: Failed deliveries
- Opened: Email opens (if tracking enabled)
- Clicked: Link clicks (if tracking enabled)
Email Logs
View detailed email logs:
┌─────────────────────────────────────────────────────────┐
│ EMAIL LOGS │
├─────────────────────────────────────────────────────────┤
│ │
│ 2025-12-07 10:00:00 ✅ Verification sent │
│ To: user@example.com │
│ Status: Delivered │
│ │
│ 2025-12-07 09:45:00 ✅ Password reset sent │
│ To: another@example.com │
│ Status: Delivered │
│ │
│ 2025-12-07 09:30:00 ❌ Welcome email failed │
│ To: invalid@example.com │
│ Status: Bounced (Invalid email) │
│ │
└─────────────────────────────────────────────────────────┘Troubleshooting
Emails Not Sending
- Check email settings in dashboard
- Verify SMTP credentials (if using custom SMTP)
- Check spam folder
- Verify DNS records (SPF, DKIM, DMARC)
- Check email logs for errors
Emails Going to Spam
- Set up SPF, DKIM, DMARC records
- Use a custom domain (not free email providers)
- Avoid spam trigger words in subject/content
- Keep bounce rate low (< 5%)
- Warm up your domain (start with low volume)
High Bounce Rate
- Validate email addresses before sending
- Remove invalid emails from your list
- Use double opt-in for registrations
- Monitor bounce reports
Next Steps
- Social Auth Setup - Configure OAuth
- Email Verification Guide - Implement verification
- Password Reset Guide - Implement password reset
- Monitoring - Monitor email delivery