Skip to main content

Delete Email

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Delete an email message from the email client. This command permanently removes the specified email message from your inbox or other email folders.


Parameter Values

Input parameters

Parameter

Description

Required

Options / Notes

Email message

Select the mail message to process

Yes

Should be a valid email message object from a previous email operation

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables to dynamically specify the email message to be deleted. When you see the variable icon {x} next to a field, you can click on it to insert a previously defined variable. This is particularly useful when working with email messages retrieved from previous actions like "Get Email" or "Search Email".


Notes

  • Before using this command, ensure that you have properly specified the email message to delete.

  • Once an email is deleted, it may be moved to the trash folder or permanently deleted depending on the email client's settings.

  • Make sure you have the proper permissions to delete the specified email message.

  • If the email message doesn't exist or has already been deleted, the command may result in an error.

Did this answer your question?