Skip to content
Back to catalog
Bird

Email with Bird

Send customized emails to your users through Bird's email API with Appwrite Messaging

Bird is a communications platform with APIs for sending email and SMS. For email, you verify a sending domain in your Bird workspace, create an API key, and send through Bird's HTTP email API or its SMTP relay.

How does the integration work?

You can use the Bird email provider in Appwrite Messaging to send customized emails to your users, such as reminders, promotions, announcements, and custom authentication flows. Emails can be sent immediately or scheduled, to topics, users, or individual targets.

The provider talks to Bird's HTTP email API, so it needs a Bird API key rather than SMTP settings. Appwrite reads the region from the key's bk_<region>_ prefix and sends each recipient a message of their own, with Bird's transactional category. On Appwrite Cloud, one-click setup connects your Bird workspace and creates that key for you, with only the emails:write scope.

The Bird email provider is live on Appwrite Cloud and ships in the next self-hosted Appwrite release. To send SMS through Bird as well, see SMS with Bird.

How to implement

To implement the Bird email provider in Appwrite Messaging, there are several steps you must complete:

Step 1: Verify a sending domain in Bird

First, sign up for Bird and open your workspace. Under Email > Domains, add the domain you want to send from. Bird recommends a subdomain such as mail.example.com. Add the DKIM, return-path, and DMARC records Bird shows you to your DNS, and wait for the domain to verify. Bird only sends from verified domains. Bird's sending domains guide covers each record.

Step 2: Add the Bird provider to your Appwrite project

For this step, you must create an account on Appwrite Cloud or self-host Appwrite if you haven't already. In your Appwrite project, head to Messaging > Providers and click Add provider. Bird is listed under both Email and SMS. Choose Bird under Email.

Configure Bird step for the email provider, with the One-click setup card above the API key and sender fields
Configure Bird step for the email provider, with the One-click setup card above the API key and sender fields

In the Configure Bird step, use one-click setup or fill in the fields by hand.

On Appwrite Cloud, the Configure Bird step opens with a One-click setup card above the form.

  1. Click Connect with Bird and authorize Appwrite in Bird.
  2. Select a verified Domain. If none of your domains are verified yet, click Manage domains, verify one in Bird, and click Check again.
  3. Click Generate API key.
  4. Review the filled-in fields and click Create provider.

One-click setup card after connecting Bird, with a verified domain selected and the Generate API key button
One-click setup card after connecting Bird, with a verified domain selected and the Generate API key button

Appwrite creates an API key named Appwrite SMTP: <project name> in your Bird workspace, with only the emails:write scope. It also fills any empty fields: the sender email becomes noreply@<domain> unless you already typed an address on that domain, the sender name defaults to your project name, and the provider name defaults to One-click Bird sender. If you leave the wizard without creating the provider, Appwrite revokes the key it generated.

Step 3: Test the Bird provider

Before you proceed, you must already have at least one topic or target set up.

Go to Messaging > Messages, click Create message, and choose Email. Write a test message, select one of your test targets, set the schedule to Now, and click Send. Check that the email arrives in your inbox. If it doesn't, check the logs in the Appwrite Console and in your Bird workspace.

Bird refuses placeholder domains such as example.com and test.com, so give your test users real addresses. To test without a real inbox, use one of Bird's sandbox addresses, such as delivered@messagebird.dev, as an email target.

To send emails from your backend instead, follow the Send email messages guide with an Appwrite Server SDK.

Read more about Bird and Appwrite Messaging

If you would like to learn more about Bird and Appwrite Messaging, we have some resources that you should visit:

Technology Partner Program

Building on Appwrite?

Teams and developers who ship integrations, tools, or services on Appwrite can join our partner program for verified catalog placement, co-marketing, training, and engineering support.