Send an Email
Send an email from your inbox
Before you can send an email, you need to create an inbox.
Limits
- 10MB total attachment size
- 10 emails per day for the free tier, 1000 emails per day for the paid tiers
If you need higher limits, contact us to upgrade.
REST API
1. Create an Api Key (if you don’t already have one)
Create an api key by going to the api keys page. You can also click the Create Your First Api Key
button in the sidebar or navigate to the api keys page by clicking Settings
, under the user dropdown at the bottom of the sidebar.
Be sure to save the api key somewhere safe. You will not be able to see it later if you lose it.
Create Your First Api Key
User Settings
2. Send an Email
Make sure to pass the api_key
you created in the previous step in the
Authorization
header. Also make sure to replace CREATED_INBOX_ID
with the
ID of the inbox you created in the previous step. And change the
to_addresses
to the email address you want to send the email to.
See the API Reference for more information on the request body.
Optional - Add an Attachment
Add an attachment to the attachment pool by sending a request to the add attachment to pool endpoint.
Make sure to pass the api_key
you created in the previous step in the
Authorization
header. Also make sure to replace path/to/file
with the path
to the file you want to add to the attachment pool.
The response will contain the ID of the attachment, which you can then use in
the send_email
request.
Python Client
1. Create an Api Key (if you don’t already have one)
Create an api key by going to the api keys page. You can also click the Create Your First Api Key
button in the sidebar or navigate to the api keys page by clicking Settings
, under the user dropdown at the bottom of the sidebar.
Be sure to save the api key somewhere safe. You will not be able to see it later if you lose it.
Create Your First Api Key
User Settings
2. Install the Client (if you haven’t already)
3. Initialize the Client
4. Send an Email
Make sure to replace CREATED_INBOX_ID
with the ID of the inbox you created
in the previous step. And change the to_addresses
to the email address you
want to send the email to.
See the API Reference for more information on the request body.
Optional - Add an Attachment
With the python client, you can just pass the file info directly to the
send_email
method and it will handle adding the attachment to the pool for
you.