# Cloudflare mail Receive with **Email Routing** (the default) and send with **Cloudflare Email Sending**. Set it up per domain. ## Prerequisites - A domain on Cloudflare DNS and a [`CF_TOKEN`](deploy-cloudflare.md#1-create-cf_token). - For sending: Email Sending permission, and a Paid Workers plan when Mailflare runs on Workers. [Docker](deploy-docker.md#sending-mail) sends through the REST API without one. ## Set up Follow the [setup steps](providers.md#set-up-a-provider) with the Cloudflare card. Creating a mailbox adds its Email Routing rule. ## Large attachments Cloudflare caps a message at 5 MiB, so large files are sent as [download links](api.md#size-limits). ## Clean up | Part | Clean up removes | | --- | --- | | Sending | The sending subdomain and its DNS | | Receiving | Routing rules and MX; disables Email Routing if no other domain uses it | ## Troubleshooting | Problem | Fix | | --- | --- | | Token errors | [Error 9109](troubleshooting.md#cloudflare-error-9109-invalid-access-token), [error 10000](troubleshooting.md#cloudflare-error-10000-on-email-routing) | | Mail not arriving | [Checklist](troubleshooting.md#inbound-mail-is-not-arriving) | ## Related - [All providers](providers.md)