App Logo
mail.google.com

Create a Gmail draft

Compose a Gmail message and save it as a draft without sending it. Takes to/cc/bcc, subject and body, and confirms the draft exists in Drafts afterward rather than trusting the compose window closing.

Input

to required

Recipient email address(es).

body required

Plain-text body.

subject required

Subject line.

cc optional

Optional Cc addresses.

bcc optional

Optional Bcc addresses.

account optional

Google account email to act as (authuser=). Without it Gmail picks u/0, nondeterministic in a multi-account jar.

Output

status required
subject required
verifiedInDrafts required
to optional
verifiedBy optional

How existence was confirmed. 'count' means the subject could not be matched textually (e.g. Gmail renders emoji as images) but the Drafts count rose by exactly one.

draftsCountAfter optional
draftsCountBefore optional

Start building not clicking