Skip to main content
outlook.deleteAttachment removes one attachment from an unsent draft.
automations/delete-outlook-attachment.automation.ts
Provide messageId and attachmentId. Optional second argument { account } selects the Microsoft binding. Returns Signal<void>. Graph rejects removal from messages whose current state doesn’t permit attachment edits.