JMAP icon

JMAP

Interact with JMAP email servers (Apache James, Twake Mail, etc.)

Email → Move

AI-generated

Summary

Move an email to a different mailbox by specifying the email ID and the target mailbox ID.

Inputs

  • Authentication — Select the authentication method to use (OAuth2, Basic Auth, or Bearer Token). Defaults to OAuth2.
  • Email ID (required) — The ID of the email to move.
  • Target Mailbox (required) — The mailbox ID to which the email will be moved. This list is loaded dynamically from available mailboxes.

Output shape

a JSON object representing the result of the JMAP Email/set API call updating the mailboxIds of the email. Includes metadata about the operation success.

This operation returns the raw response from the JMAP Email/set call indicating success or failure. Errors are thrown if the move fails. The operation does not paginate results and is performed per individual email ID specified.

Examples

Example 1: Move an email to the 'Archive' mailbox

Provide valid authentication credentials, set Email ID to the target email's ID, and select 'Archive' from Target Mailbox dropdown.

Links

Discussion