The Microsoft Graph client instance.
The options for drafting the email.
Optional
attachments?: MwFile[]An optional array of attachments to include in the email.
The content of the email.
Optional
contentThe content type of the email (e.g., 'HTML' or 'Text'). Defaults to 'HTML'.
An array of recipient email addresses.
The subject of the email.
A promise that resolves when the email draft is created.
Drafts an email using the Microsoft Graph API.