IMAP Fork icon

IMAP Fork

Retrieve emails via IMAP using the n8n-nodes-imap-fork-test package

Email → Delete

AI-generated

Summary

Permanently deletes one or more emails from a specified mailbox using their UIDs.

Inputs

  • Credential Type (required) — Choose between IMAP Fork Credentials or N8N IMAP Trigger node credentials.
  • Mailbox (required) — Select the mailbox containing the emails to delete (via list picker or path input).
  • Email UID (required) — Comma-separated list of email UIDs to delete.

Output shape

A single record with a JSON object containing the deleted UID and a confirmation flag.

The operation returns a success confirmation (.uid and .deleted) for each processed UID. The email is permanently removed from the IMAP server.

Examples

Example 1: Delete a single email from INBOX

Mailbox: INBOX, Email UID: 12345

Example 2: Delete multiple emails at once

Mailbox: INBOX, Email UID: 100,101,102

Links

Discussion