Skip to main content

Delete Mail

Deletes a mail from a specified email account's mailbox.

Input

  • Client Id - The id of the email account to access the mailbox. The ID is created by the Connect node.
  • Mail Folder - The folder of the mailbox. The default value is INBOX.
  • Message Id - The id of the email message to delete.

Options

  • Credentials - The credentials to authenticate the email account. Required if there is no Client Id.
  • Delete All - If true, deletes all mail in specified folder.

Notes

  • If Message Id is provided, only the email with that id will be deleted.
  • If Delete All is true, all messages in the specified folder will be deleted. The Message Id property will be ignored if Delete All is true.