Email Automation command
- Updated: 2021/10/19
Email Automation command
Use the Email Automation command to automate tasks for the mail server and incoming messages.
Email Automation command enables you to automate mail server operations and handle incoming email messages. You can automate the following tasks:
- Manage incoming email messages and download attachments to specific folders.
- Clear unwanted email messages.
- Communicate with the mail server and monitor email activity.
- Extract email data (Subject, Message, From:, To: , CC:, and attachments) to applications (Excel, Word, Notepad, and others) or to folders on your computer.
- Select one of these options: IMAP, POP3, EWS or EWS with OAuth servers.
- Organize email messages based on status (All, Read, and Unread).
- Select either HTML or Plain text formats for email messages.
To learn more, search for the Automating Email Using the Email Command course in Automation Anywhere University: RPA Training and Certification (A-People login required).
Do the following operations using the Email Automation command:
- Get All Messages
- Downloads all, read, or unread email messages and attachments from the mail server to a specified folder on your computer. See, Get email from a mail server.
- Delete All Messages
- Deletes all email messages from the mail server. See, Delete emails from a mail server.
- Delete Message
- Deletes the email message from the Inbox. Use together with the Get All Messages or Each Email Message on Server Loop command to delete emails one by one based on conditions.
Tip: In the above mentioned commands, press the F2 key to insert a
Credential Variable for enhanced security. Read more about Assigning credential variables
from credential lockers.
If you have issues in sending or accessing emails, see Email Automation/Send Email Command - Not able to send emails or access email from specified mail box (A-People login required).