What you get
When a mail needs an answer, the answer is written for you in your own Drafts, in your own account. You read it, change what you like, and send it yourself. It is shown to you whole, as it would go, never described.
What they will not do
| Send | This is not a setting. No level exists at which an agent sends your mail. |
| Write as someone else | The draft is in your account, from you. |
| Hide a change | If you alter the subject or the body, that is recorded as your edit. |
How it is built
The risk with an agent that can write email is plain: it sends something you did not mean, to someone you did not choose. Three things in code close that off. The recipient can only be the sender of a mail you have already seen. The reply can only go into your Drafts. And saving it waits for your press.
Google’s permission to write a draft is the same permission that allows sending, so the limit cannot come from Google. It comes from the code: there is one call, and it creates a draft.
One reply
Tender proposes a reply to a mail you have seen.
draft_replyThe recipient is fixed to that mail’s sender.
It cannot be set by the model
The level for writing mail is read: drafts.
Declared with drafts as both the start and the most it can be ·
gmail.composeYou are shown the reply whole, on a card.
“Save to Drafts” or “Discard”. Tender is told it is unsaved and must not call it sent
On your press, the thread and the recipient are checked again.
fencedOne draft is created in your Gmail.
Gmail’s API ·
users.drafts.create
The parts
| Gmail API | Google’s official way to create a draft in your mailbox. |
| OAuth 2.0 | The standard for the permission, which is separate from the one to read. |
| aha-runtime | My shared library holding the levels and the door every action goes through. |
| The log | Each offer and each save is recorded, without the reply’s words. |
The words, in plain English
| Draft | A mail written and not sent, sitting in your own Drafts folder. |
| Ceiling | The most an ability can ever be raised to. Here: drafts. |
| Scope | The exact kind of access granted by you to the agents. |
What is not finished
| Gmail only | No other mail service. |
| Replies only | A reply to a mail you received. Not a new mail to someone new. |