Skip to main content

Save attachments

Save an email's attachments to a folder, optionally only names matching a pattern such as *.pdf.

Command in the Email toolkit · id ooa.email/save_attachments · 8 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
IDNumberNoEmail id from Find emails; empty inside an Each email loop = the loop's current email.
Target folderFileYesFolder to save into.
Name patternStringNo*Only names matching this pattern, e.g. *.pdf.
FolderStringNoINBOXMail folder.
OverwriteBooleanNofalseReplace files of the same name instead of adding a number such as (2).
Include inlineBooleanNotrueAlso save images embedded in the body, such as signature logos.
SessionStringNomailSession name.
Mark readBooleanNofalseMark the email read afterwards (IMAP only); otherwise its read status stays as it was.

Outputs​

OutputTypeWhat it is
filesListSaved file paths.