Sending emails from different addresses by tag

Last updated: December 3, 2026

Overview

By default, gaiia sends every system email from one address: the sender identity on your SendGrid or Mailgun integration. If you run several brands or sub-companies and separate their customers with tags, you can send each group's emails from its own address, such as business@yourdomain.com for business customers and support@yourdomain.com for residential ones.

You do this with sender address rules on your email integration. Each rule pairs an address with one or more tags, and gaiia picks the sender from the tags on the customer the email goes to.

In this article, we'll be covering what you need before you start, how to add rules, how gaiia picks a rule, how to route replies to the right ticket mailbox, and the current limitations.

Before you start

Check these before you add a rule:

  • Tags. Your brands are set up as tags, and those tags are on the accounts, businesses and property groups you send to. Without tags, the section shows "No tags yet" and you can't add a rule.

  • A connected email integration. SendGrid or Mailgun is installed and sending.

  • Verified addresses. Every address you plan to use is on a domain verified with your email provider. See Configuring the SendGrid integration or Mailgun Integration.

  • A ticket mailbox per address, if customers will reply to these emails. See Route replies to the right ticket mailbox below.

To edit an integration, your role needs the Settings > Integrations permission.

Add sender address rules

Rules live on your email integration, under the sender identity.

  1. Go to the Integrations page: https://app.gaiia.com/[company name]/settings/integrations

  2. Open your SendGrid or Mailgun integration and click Edit.

  3. Under Sender addresses by tag, click Add rule.

  4. Enter the Email address to send from.

  5. Optional: enter a Display name, such as "Customer Support". It can't contain quotes, commas or angle brackets.

  6. In Tags, select one or more tags.

  7. In Match, choose "All tags" or "Any tag".

  8. Add more rules as needed, and drag them into the order you want.

  9. Click Save.

gaiia checks every address with your email provider when you save. If the provider refuses one, nothing is saved and that address shows Rejected by the email provider. Check the address and domain. Verify the address or its domain with the provider, then save again.

You can add up to 200 rules, with up to 50 tags in each.

To delete a rule, click the trash icon (Remove rule) and confirm. Emails that matched it use the next rule that matches, or the default sender.

The Sender addresses by tag section of the SendGrid integration, with three rules

How gaiia picks the sender

When gaiia sends a system email, it reads the tags on the recipient and checks your rules from top to bottom. The first rule that matches sets the sender.

  • All tags: the rule matches when the recipient carries every tag in the rule.

  • Any tag: the rule matches when the recipient carries at least one of them.

  • No match: the email is sent from the integration's sender identity.

Put specific rules above general ones. For example:

Order

Tags

Match

Sends from

1

Business, North

All tags

north-business@yourdomain.com

2

Business

Any tag

business@yourdomain.com

None match

Sender identity

A business customer tagged North gets rule 1. Every other business customer gets rule 2. Everyone else gets the sender identity.

If an earlier rule already covers a rule's tags, gaiia flags it: An earlier rule already matches these tags, so this rule won't be applied. Move it higher to take effect. You can still save.

gaiia uses the tags of the account, businesses or property group the email is sent to. Emails to a property group manager use the tags of their property group. A recipient with no tags gets the sender identity.

Route replies to the right ticket mailbox

Customers reply to the address an email came from. For those replies to become tickets, each sender address needs its own ticket mailbox.

  1. Go to the ticket settings and open Mailboxes.

  2. Click Add mailbox.

  3. Set Reply email address to the address from your rule, and pick the ticket type, assignees and notifyees for that brand.

  4. Save. gaiia generates an inbound address for the mailbox, shown in the Mailbox column.

  5. In your email host, forward the sender address to that mailbox's generated address.

Forward each sender address to its own mailbox's generated address. If two addresses forward to the same one, every reply lands in a single mailbox.

Each rule shows a Status:

  • "Configured": a ticket mailbox uses this address as its reply address.

  • "Not configured": no ticket mailbox uses it, so replies to it won't create tickets.

Address verification

Each rule also shows whether your email provider accepts its address:

  • "Verified": the provider accepts the address.

  • "Related domain": the address is on a domain related to a verified one, such as a subdomain. It saves, but emails may still go out from the sender identity until that sending domain is set up with your provider.

  • "Not verified": the provider doesn't accept the address. Verify the address or its domain with the provider.

If gaiia can't reach your provider when you save, you see The email provider could not be reached to verify the sender addresses, so nothing was saved. Please try again.

Limitations

  • One sending domain. Sender addresses must be on your verified sending domain. Brands on different domains aren't supported yet.

  • Tags only. Rules pick the sender from tags. You can't pick a sender by communication type, such as billing or support.

  • System emails only. Communications you create manually are sent from the sender identity.

  • Email only. Rules don't change the number SMS messages are sent from.

Frequently asked questions

A customer matches two rules. Which address is used?

The higher rule. Drag rules to change the order.

I changed a customer's tags. When does their sender change?

On their next email. gaiia checks tags each time it sends.

What happens if I delete every rule?

All emails go out from the sender identity, as before.

Learn more