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.
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.