Delete one email
delete_emailPermanently delete one email by id. Its content, extracted code and original message are erased immediately and cannot be recovered or read again. Use it after you've used the code or link from an email. To delete while receiving, call wait_for_email with delete: true instead; to clear the whole inbox use delete_all_emails. Get the id from list_emails or wait_for_email, and check it with read_email first if unsure. Returns { deleted: 1 }, or the error 'No email with that id.' if it doesn't exist (already deleted or expired). The inbox, its address and its remaining allowance are unaffected. Parameters: id is a 16-character lowercase code (letters and digits 2-9, never l, o, 0 or 1), e.g. '9jpckse9ihxv8t76'. Ids belong to this inbox only, never change, and are never reused, so an id from an earlier call stays valid until the email is deleted or turns 7 days old. An id from a different inbox is treated as not found. Deleting the same id twice is safe: the second call just reports it as not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the email to erase, as returned by list_emails or wait_for_email. |