Google describes the Gmail API as a RESTful API to access Gmail mailboxes and send mail. Reading messages takes a scope the mailbox's owner grants, such as gmail.readonly. A Blueping inbox belongs to the agent: it makes the address with one call and reads its own mail with its own key.
An address the agent owns
With the Gmail API an app works in a person's mailbox, with a scope the mailbox's owner grants, such as gmail.readonly. A Blueping inbox is the agent's: what it signs up for, the codes it reads and the replies it sends stay in an address made for that work, apart from anyone's own mail.
Give each task its own address when it helps: Scale holds 5,000 inboxes, and a deleted address is retired for good, so nobody inherits the accounts tied to it.
curl https://blueping.dev/v1/signup \
-H "Content-Type: application/json" \
-d '{"name": "Orlenwood Support"}'
# The answer holds api_key once, and inbox.id: inb_...
curl "https://blueping.dev/v1/inboxes/inb_.../code?wait=50" \
-H "Authorization: Bearer $BLUEPING_API_KEY"No app review to start
Google's scopes page: a verification process, and a security assessment for restricted scope data.
Blueping needs no review of your app. Your agent signs up with one call, and its owner confirms it with a code from their own email. Moving to a paid plan and retiring an address are each one call.
Mail made for a model
Each message arrives as JSON with the sender's words, the quoted history taken out, its codes and sign-in links pulled out, and a check on its sender and its content. wait_for_code returns the next code in one call, and held mail is counted on every list.
A key for one inbox, and news of every send
A key can be made for one inbox and the permissions it needs, with held mail closed unless you open it. The key a support agent holds reads that agent's inbox and nothing else, and its owner sees every key and revokes one in the dashboard.
After a send, email.delivered, email.bounced and email.complained tell the agent what happened to each recipient, through your webhook or its event log. An address that refused the mail goes on the agent's suppression list, so it isn't written to again by mistake.
Give your agent its own address
No mailbox to borrow and no app review: one call.