--- title: "Set up file action - Email" slug: "set-up-file-action-email" tags: ["Flow topic"] status: "update" updated: 2026-09-01T06:30:58Z published: 2026-09-22T13:19:01Z canonical: "docs.staedean.com/set-up-file-action-email" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up file action - Email You can use the **Email** file action to exchange files with email. If the direction is: - **Source**, before the message is run, the defined email account inbox is searched for applicable emails. If found, the attached files of these emails are saved to the **Working** folder. - **Target**, after the message is run, an email is created using the defined email account, the created file in the **Working** folder is attached to the email, and the email is sent. The original file stays in the **Working** folder. If you want to zip the file before sending it by email, do a Zip file action previously to the **Email** file action. In this case the zipped file is attached to the email. These email options are available: - **Exchange server**: To send or receive files using a Microsoft Exchange server. - **Exchange Online (Microsoft 365)**: To send or receive files using a Microsoft 365 mailbox, with app-based authentication. - **IMAP server**: To receive files using an IMAP server. - **SMTP server**: To send files using an SMTP server. - **D365 F&SCM email**: To send files using the email setup as defined in D365 F&SCM. > [!NOTE] > Note > > You can set up file actions for these connector types: > > - **Azure file storage** > - **Azure File Storage (API)** > - **Azure Blob storage** > - **SharePoint** ## Flow diagram [Embedded content](https://viewer.diagrams.net/?tags=%7B%7D&lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Set%20up%20file%20action%20-%20Email.drawio&dark=auto#R%3Cmxfile%3E%3Cdiagram%20name%3D%22Page-1%22%20id%3D%220%22%3E7VpRj5s4EP41ltoHVsQO7O7jkmzaSo0aKXfq3aMDA7hrMDLOJrlffzKYAIH2mohN0xPZh8Tj8Xg83zfG4wWRWbL%2FIGkWL0UAHGE72CMyRxhPpthFGGvJoZQ8upNSEEkWGKVasGb%2FgBHaRrplAeQtRSUEVyxrC32RpuCrloxKKXZttVDw9qwZjaAjWPuUd6VfWaDiyjvHrjs%2BAoviauqJbXoSWmkbQR7TQOwaIvKMyEwKocpfyX4GXEevCowZh%2FDiOwpH5ySk6ifH5IpK1R1nTOXqUK0cOGdZDoh4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