Apple Mail
Apple's built-in email app for Mac, iPhone and iPad that pulls all your mail accounts into one inbox.
How to automate Apple Mail
Built-in automation
Mail sorts incoming messages into categories, blocks senders and reduces junk mail on its own. Use categories to keep receipts and promotions out of the way, and block repeat senders instead of deleting by hand.
No-code automation
Apple Mail has no hosted service that an automation tool can connect to, so you automate at the mailbox. If your account is on Gmail or Microsoft 365, connect that mailbox in Zapier or Make, and Mail shows the result. SaneBox works with iCloud and any IMAP account, so it can filter the same mailbox that Apple Mail reads.
API and webhooks
Apple documents no public API or webhooks for Mail. Check whether your mail provider offers one, and build against that instead.