Skip to main content
gmail.moveMessagesToInbox adds Gmail’s INBOX label to messages.

Example

Return up to 100 archived messages with the Needs review label to the inbox:

Inputs

Inputs accept compatible signals.

Output

Returns a Signal<string[]> with the modified message IDs in input order. This action only adds INBOX. It doesn’t explicitly remove SPAM or restore a message from Trash. Use gmail.markMessagesAsNotSpam for Spam and gmail.untrashMessages for Trash. Other labels remain applied.