Email Setup

Connect an email provider (Gmail, Outlook, SMTP, or an API provider such as SendGrid), test the connection, and troubleshoot common errors.

Supported Providers

Tax Receipt Generator can send receipts through the following email providers:

ProviderConnection Method
GmailOAuth (one-click authorization)
Outlook / Microsoft 365OAuth (one-click authorization)
SendGridAPI key
MailgunAPI key
AWS SESAccess key + secret + region
Custom SMTPServer address, port, username, password

Starting the setup

Open Data Sources in the sidebar, find the Email Providers section and click Add Provider. (You need the permission to manage integrations.) This opens the Email Setup wizard, which walks you through four steps: Select Provider, Configure, Test, and Finalize.

Connecting Gmail

  1. In the wizard, choose Gmail.
  2. Enter a provider name and the From email address (and optionally a From name), then click Connect with Google.
  3. Sign in with a Google account and approve the send-only permission. Tax Receipt Generator requests the https://www.googleapis.com/auth/gmail.send scope, which allows the app to send messages on your behalf but not to read, modify, or delete anything in your Gmail account. It also requests basic profile access (userinfo.email) so it can confirm which Google account you connected.
  4. You are redirected back to the wizard to test and finish setup.

Gmail OAuth uses a secure token — your password is never stored. You can revoke access at any time from your Google Account permissions page.

Connecting Outlook

  1. In the wizard, choose Outlook.
  2. Enter a provider name and From email address, then click Connect with Microsoft.
  3. Sign in with your Microsoft account and approve the permission to send mail.
  4. You are redirected back to the wizard to test and finish setup.

Using SendGrid, Mailgun, or Amazon SES

Choose the provider in the wizard, then enter its API key (Amazon SES also asks for an API secret and the region where your verified identities live), plus the From email and From name. Click Save & Test Connection.

Using Custom SMTP

For your own mail server or any other SMTP service:

  1. In the wizard, choose SMTP.
  2. Enter the SMTP host, port (587 for TLS, 465 for SSL), username, and password, and tick Use secure connection (TLS/SSL) if your server needs it. Also enter the From email.
  3. Click Save & Test Connection.

Testing Your Connection

In the wizard’s Test step:

  1. Enter a Test Email Address (your own email works well).
  2. Click Send Test Email.
  3. Check your inbox for the test message.
  4. When you see “Connection successful!”, click Finish Setup.

Managing Existing Connections

You can connect more than one provider — for example, a Gmail account and a Custom SMTP account side by side — and choose which one to send from when you distribute a run. Each connection is listed on the Data Sources page, showing its verification status and how many emails it has sent. From there you can rename a connection, adjust its sending settings, or disconnect it entirely.

If a connected provider stops working — an OAuth grant expires or gets revoked, or SMTP credentials are rejected — a health banner appears across the app letting you know a connection needs attention, with a link straight to the affected connection in Data Sources. See Reconnecting an Email Provider for how to fix it without re-entering everything from scratch.

Troubleshooting

Authentication failed

Double-check credentials. For Gmail and Outlook, use the Reconnect button described in Reconnecting an Email Provider rather than disconnecting and starting over. For SMTP, verify the username and password.

Emails not arriving

  • Check your spam/junk folder.
  • Verify the recipient address is correct.
  • For SMTP, confirm the port and encryption settings match your provider’s documentation.

Sending limits

Email providers limit how many emails an account can send per day. Our estimates:

AccountEstimated limitOur recommended daily budget (60%)
Gmail (personal @gmail.com)~500/day300/day
Google Workspace (custom domain)~2,000/day1,200/day
Outlook.com / Hotmail (personal)~300/day180/day
Microsoft 365 (custom domain)~2,000/day (tenant-wide limits apply)1,200/day

If you exceed your provider’s limit, the provider may block all sending from your account — including personal email — for up to 24 hours. Large sends are automatically split into daily batches that respect your configured budget; the remainder sends automatically each day and you can pause, resume, or cancel the schedule from the Distribute page. Adjust the budget per connection on the Data Sources page. For SMTP and API providers (SendGrid, Mailgun, Amazon SES) there is no built-in estimate: enter the limits from your plan there, or leave them blank for no limit.

Connection timeout

Ensure your SMTP server address is correct and that port 587 (or 465 for SSL) is not blocked by a firewall.

Can't find what you need? Contact support