Gmail
Gmail is a hosted mailbox solution, available through personal Google accounts and Google Workspace. These guides connect an existing mailbox through OAuth, the Gmail API, and Pub/Sub while leaving mailbox delivery and MX records in place.
Start with the first guide, then choose a sending or receiving task. Each walkthrough identifies permissions, operational checks, and the boundary between the service and MailKite. Refer to the official Gmail documentation for current platform requirements.
Explore the guides
Authorize an application to access Gmail
Choose Gmail OAuth scopes, complete user consent, and configure a server-side client without exposing mailbox tokens or changing MX records.
Send email from an existing Gmail mailbox
Send a controlled message through Gmail's API using scoped OAuth and base64url MIME, while keeping mailbox sending separate from application delivery.
Receive Gmail changes with Pub/Sub and mailbox history
Watch a Gmail inbox, process authenticated Pub/Sub notifications, and synchronize mailbox history with cursor recovery and watch renewal.