gmail_restore
Restore Gmail conversations to the Inbox from Trash, Spam, or archived mail. Select rows by index, subject match, search query, or folder, then move them back or add the Inbox label.
Instructions
Bring conversations back to the Inbox from the Trash, Spam or the archive (All mail / search).
Uses 'Move to Inbox' / 'Move to' -> Inbox when offered, else adds the Inbox label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Act on EVERY conversation of the query/folder list (Gmail's 'Select all' after loading the whole list; repeated until the list is empty for actions that remove conversations from it). Needs query or folder; no index/indexes/match. | |
| index | No | Row index from gmail.list / gmail.search (0 = first row). | |
| match | No | Select every row whose subject contains this text (case-insensitive). | |
| query | No | Run this Gmail search first and take the rows from its results. | |
| folder | No | Open this folder/label first and take the rows from it. | |
| indexes | No | Several row indexes (multi-selection). | |
| max_rows | No | With match, look at most at this many rows from the top. |