Delete Email
  • 21 Oct 2022
  • 1 Minute to read
  • Dark
    Light

Delete Email

  • Dark
    Light

Article Summary

Step Details

Introduced in Version---
Last Modified in Version7.12.0
LocationCommunication > Email

A Flow can be configured to delete all emails sent by one sender, the first or last email in an account, a set count of emails, unread emails, or even all emails from an account for either an IMAP or POP mail server. The Delete step uses the Unique Id for an email as input, then sends the command to a mail server for the messages that meet the criteria to be deleted.




Properties

Settings

PropertyDescriptionData Type
Purge DeletedPermanently removes all messages marked as deleted from the specified folder.
Boolean

Inputs

PropertyDescriptionData Type
FolderName of the Folder the emails are located in. (Inbox, Spam, Trash, etc.)String
OAuth TokenAllows a user to specify the IMAP or POP3 email server token. (Requires: email account configured for OAuth and POP3 or IMAP; OAuth Provider and Token for POP3 or IMAP).String
PasswordThe password of the user connecting to the email server.String
PortPort number of the email server.Int32
Secure ConnectionUsed if the email server credentials require a secure connection (must be true when using OAuth for POP3 or IMAP).Boolean
ServerIMAP or POP email server.String
Unique IDThe Get Email step uses a Unique Id to retrieve the full message from an Email. This field assumes that previous steps may output more than one Message Header to get a certain message category.
String
Use OAuthSpecifies the use of OAuth authentication.Boolean
UsernameUsername to connect to the email server.String

Outputs

PropertyDescriptionData Type
None------


Was this article helpful?

What's Next