Skip to content

EMAIL

Option A: SendGrid (Recommended)

  1. SMTP connection URI: smtps://apikey:YOUR_SENDGRID_API_KEY@smtp.sendgrid.net:465
  2. Leave SMTP password empty (included in URI)
  3. Default FROM address: Help Desk noreply@yourdomain.com

Option B: Mailgun

  1. SMTP connection URI: smtps://YOUR_MAILGUN_USERNAME:YOUR_MAILGUN_PASSWORD@smtp.mailgun.org:465
  2. Leave SMTP password empty (included in URI)
  3. Default FROM address: Help Desk noreply@yourdomain.com

Option C: Gmail/Google Workspace

  1. SMTP connection URI: smtps://your-email@gmail.com:YOUR_APP_PASSWORD@smtp.gmail.com:465
  2. Leave SMTP password empty (included in URI)
  3. Default FROM address: your-email@gmail.com
  4. ⚠️ Note: You must enable 2FA and create an App Password in your Google account

Option D: Office 365/Outlook

  1. SMTP connection URI: smtps://your-email@outlook.com:YOUR_PASSWORD@smtp.office365.com:587
  2. Leave SMTP password empty (included in URI)
  3. Default FROM address: your-email@outlook.com

Collection Settings:

  1. Email documents collection
  • Set to: mail (this is what the Help Desk app uses)
  1. Default FROM address
  1. Default REPLY-TO address (Optional)

Optional Settings (Leave as Default):

  1. 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:

  1. Sign up at https://sendgrid.com
  2. Go to Settings β†’ API Keys
  3. Create API key with β€œMail Send” permissions
  4. Use this API key in the SMTP URI

For Mailgun:

  1. Sign up at https://mailgun.com
  2. Go to Sending β†’ Domain settings
  3. Find your SMTP credentials under β€œSMTP”
  4. Use these credentials in the SMTP URI

For Gmail:

  1. Enable 2-Factor Authentication
  2. Go to Google Account β†’ Security β†’ App passwords
  3. Generate app password for β€œMail”
  4. Use this app password (not your regular password)

Testing Your Configuration:

After installation:

  1. Go to your Help Desk application
  2. Create a test ticket
  3. Check if you receive email notifications
  4. 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