Skip to main content
deleteAttachment removes one attachment from an unsent draft.
automations/delete-outlook-attachment.automation.ts
messageId and attachmentId are required; optional account selects the Microsoft binding. Returns Signal<void>. Graph rejects removal from messages whose current state does not permit attachment edits.