UsersResource.Drafts
module Format : sig ... end
val create :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_source:GapiMediaResource.t ->
userId:string ->
GapiGmailV1Model.Draft.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Draft.t * GapiConversation.Session.t
Creates a new draft with the DRAFT label.
val delete :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.t
Immediately and permanently deletes the specified draft. Does not simply trash it.
val get :
?base_url:string ->
?etag:string ->
?std_params:GapiService.StandardParameters.t ->
?format:Format.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.Draft.t * GapiConversation.Session.t
Gets the specified draft.
val list :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?includeSpamTrash:bool ->
?maxResults:int ->
?pageToken:string ->
?q:string ->
userId:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.ListDraftsResponse.t * GapiConversation.Session.t
Lists the drafts in the user's mailbox.
val send :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_source:GapiMediaResource.t ->
userId:string ->
GapiGmailV1Model.Draft.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Message.t * GapiConversation.Session.t
Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.
val update :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_source:GapiMediaResource.t ->
userId:string ->
id:string ->
GapiGmailV1Model.Draft.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Draft.t * GapiConversation.Session.t
Replaces a draft's content.