MailCreateDraft

Summary

  • Creates a draft email to edit or send later.

Graph Endpoint

  • POST /me/messages

Parameters

Optional

  • to: string[], cc: string[], bcc: string[]

  • subject: string, body: string

  • bodyContentType: 'Text'|'HTML'

Usage (app.businessFunction)

Minimal

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'CreateDraft',
  parameters: {
    subject: 'Draft subject'
  }
})

With recipients and body

Response

Last updated

Was this helpful?