Gmail "Move to Trash" seems to permanently delete instead of moving to Trash

Hi team,

I’ve set up a workflow to move Gmail threads to Trash, but I’m seeing unexpected behavior. Instead of finding the emails in my Trash folder, they seem to be permanently deleted.

Here’s how I configured the node:

  • Credential: Connected Gmail account

  • Resource: Thread

  • Operation: Trash

  • Thread ID: {{ $json.threadid }} (coming from the previous node)

  • Description: “Move to Trash message in Gmail”

When I run this, the thread disappears completely, and I can’t find it in Trash inside Gmail.

:backhand_index_pointing_right: My questions:

  1. Is this expected behavior for the Gmail node in n8n?

  2. Is this a known bug or limitation?

  3. Or am I missing something in the setup (e.g. should I be using “Message” instead of “Thread”)?

Thanks for any guidance — I just want to make sure I’m not accidentally permanently deleting things when I intend to move them to Trash.

I tried this one and found out delete message node deletes it permanently.
but when I tried move to trash it was available in trash.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.