gmail v0.1.3 Gmail.Draft
A draft email in the user’s mailbox.
Summary
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts#resource
Immediately and permanently deletes the specified draft. Does not simply trash it
Gets the specified draft
Lists the drafts in the user’s mailbox
Sends the specified, existing draft to the recipients in the To
, Cc
, and Bcc
headers
Types
t :: %Gmail.Draft{id: term, message: term}
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts#resource
Immediately and permanently deletes the specified draft. Does not simply trash it.
Gmail API Documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts/delete
Specs
get(String.t, String.t) ::
{atom, Gmail.Message.t} |
{atom, String.t} |
{atom, map}
Gets the specified draft.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts/get
Specs
list(String.t) :: {atom, [Gmail.Draft.t]}
Lists the drafts in the user’s mailbox.
Gmail API Documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts/list
Specs
send(String.t, String.t) :: {atom, Gmail.Thread.t}
Sends the specified, existing draft to the recipients in the To
, Cc
, and Bcc
headers.
Gmail API Documentation: https://developers.google.com/gmail/api/v1/reference/users/drafts/send