Explore Plans
Mobile menu Close menu
Gmail

Delete email

This action will move a specific email message to Trash in your Gmail account. Messages in Trash can be recovered until Gmail permanently removes them.

Developer info

API endpoint slug
gmail.delete_email
Filter code method
Gmail.deleteEmail.skip(string?: reason)
Runtime method
runAction("gmail.delete_email", {})

Action fields

Message Text input > Other

Label
Message ID
Helper text
The ID of the email message to move to Trash. Use the MessageId ingredient from a Gmail trigger or query.
Slug
message_id
Required
true
Can have default value
true
Filter code method
Gmail.deleteEmail.setMessageId(string: message_id)