Back to docsSetup Guide

Email Routing & Multi-Domain Setup

Sonny supports two approaches for routing incoming emails to the right source. Choose the one that fits your email infrastructure.

Dedicated email per source

Each source has its own forwarding address

Every source in Sonny gets its own unique email channel with a forwarding address like acme+support@usesonny.email. You set up forwarding from each domain's mailbox to its dedicated Sonny address.

How to set it up

1

Create a source for each domain (e.g. "Main Site", "Secondary Site")

2

Each source automatically gets its own email channel with a unique forwarding address

3

Set up email forwarding in each domain's email provider to the corresponding Sonny address

4

Emails arrive and are routed to the correct source automatically

Example
Email flowSonny addressRouted to
support@maindomain.comacme+support@usesonny.emailMain Site
support@secondary.comacme+secondary@usesonny.emailSecondary Site

Shared forwarding with alias domains

Multiple domains, one forwarding rule

If you use Google Workspace alias domains, Microsoft 365 shared mailboxes, or any setup where multiple domains forward to a single mailbox, you only need one forwarding rule. Sonny reads the original To address from the email headers to route each message to the right source.

How to set it up

1

Create a source for each domain and connect a website with the domain name

2

Set up email forwarding from your primary mailbox to a single Sonny address

3

On each source's General tab, enable "Route emails addressed to [domain] to this source"

4

Optionally add extra domains in the Additional domains section

5

Sonny checks the original To header and matches the domain to the correct source

Example — one Google Group forwarding to Sonny
Email flowSonny addressRouted to
customer → support@maindomain.comacme+support@usesonny.emailMain Site (via email domain match)
customer → support@secondary.com → support@maindomain.comacme+support@usesonny.emailSecondary Site (via To header)
customer → support@third.com → support@maindomain.comacme+support@usesonny.emailThird Site (via To header)

How domain matching works

When an email arrives at your Sonny forwarding address, the routing logic works in this order:

1

Match the Sonny forwarding address

The email channel is identified by the destination address (e.g. acme+support@usesonny.email). This determines the workspace.

2

Check the original To header

Sonny reads the original recipient from the email's To header (preserved even after forwarding) and extracts the domain.

3

Match domain to source

If a source in the workspace has this domain in its email routing domains, the conversation is routed there. Otherwise, it falls back to the email channel's default source.

Important

Domain matching only works when the original To header is preserved by your email provider during forwarding. Most providers (Gmail, Outlook, Zoho) preserve this header by default. If you use a mailing list or forwarding service that rewrites the To header, you'll need to use the dedicated email approach instead.

Related guides