MailMove

Summary

  • Moves an email to a target folder (e.g., Archive) for organization and filing.

Graph Endpoint

  • POST /me/messages/{id}/move

Parameters

Required

  • id: string — The message ID.

  • destinationId: string — Destination folder id or well‑known name (e.g., Archive, Inbox).

Usage (app.businessFunction)

Minimal

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'Move',
  parameters: {
    id: 'AAMkAGI2N...',
    destinationId: 'Archive'
  }
})

Response

{
  "ok": true,
  "id": "AAMkAGI2N...",
  "destinationId": "Archive"
}

Last updated

Was this helpful?