Option A: SendGrid (Recommended)
- SMTP connection URI: smtps://apikey:YOUR_SENDGRID_API_KEY@smtp.sendgrid.net:465
- Leave SMTP password empty (included in URI)
- Default FROM address: Help Desk noreply@yourdomain.com
Option B: Mailgun
- SMTP connection URI: smtps://YOUR_MAILGUN_USERNAME:YOUR_MAILGUN_PASSWORD@smtp.mailgun.org:465
- Leave SMTP password empty (included in URI)
- Default FROM address: Help Desk noreply@yourdomain.com
Option C: Gmail/Google Workspace
- SMTP connection URI: smtps://your-email@gmail.com:YOUR_APP_PASSWORD@smtp.gmail.com:465
- Leave SMTP password empty (included in URI)
- Default FROM address: your-email@gmail.com
- ⚠️ Note: You must enable 2FA and create an App Password in your Google account
Option D: Office 365/Outlook
- SMTP connection URI: smtps://your-email@outlook.com:YOUR_PASSWORD@smtp.office365.com:587
- Leave SMTP password empty (included in URI)
- Default FROM address: your-email@outlook.com
Collection Settings:
- Email documents collection
- Set to: mail (this is what the Help Desk app uses)
- Default FROM address
- Enter your help desk email: Help Desk noreply@yourdomain.com
- Replace yourdomain.com with your actual domain
- Default REPLY-TO address (Optional)
- Enter: support@yourdomain.com (where users should reply)
Optional Settings (Leave as Default):
- Users collection: Leave empty9. Templates collection: Leave empty10. Firestore TTL type: Never11. Firestore TTL value: Leave empty12. TLS Options: Leave empty
Getting Your SMTP Credentials:
For SendGrid:
- Sign up at https://sendgrid.com
- Go to Settings → API Keys
- Create API key with “Mail Send” permissions
- Use this API key in the SMTP URI
For Mailgun:
- Sign up at https://mailgun.com
- Go to Sending → Domain settings
- Find your SMTP credentials under “SMTP”
- Use these credentials in the SMTP URI
For Gmail:
- Enable 2-Factor Authentication
- Go to Google Account → Security → App passwords
- Generate app password for “Mail”
- Use this app password (not your regular password)
Testing Your Configuration:
After installation:
- Go to your Help Desk application
- Create a test ticket
- Check if you receive email notifications
- If emails don’t work, check Firebase Console → Extensions → Trigger Email for error logs
Common Issues:
- “Authentication failed” → Check your SMTP credentials
- “Connection refused” → Verify SMTP host and port
- “Sender not authorized” → Verify your email domain with your provider