post https://api.getknit.dev/v1.0/email.drafts.update
Update behavior
- Always pass all values (to, cc, bcc, subject, body, attachments etc.) in update request
- This API uses replace behavior - existing values will be overwritten with new values
- For Outlook Mail: New attachments will be deduplicated (identical attachments won't be added multiple times)
- To delete existing deduplicated attachment use Passthrough Request
- Payload for passthrough -{"method":"DELETE","path":"/me/messages/{messageId}/attachments/{attachmentId}"}
Supported Apps
Here is the list of apps that supports this API
Google Mail (google-mail)
Replaces all provided values
Outlook Mail (outlook-mail)
Replaces all values, attachments are deduplicated