Skip to main content
gmail.archiveMessages removes Gmail’s INBOX label while keeping the messages available.

Example

Archive each new message after applying a record-keeping label:

Inputs

Inputs accept compatible signals.

Output

Returns a Signal<string[]> with the modified message IDs in input order. Gmail doesn’t have a separate Archive folder. Archiving removes INBOX. It doesn’t trash or delete the messages, and other labels remain applied. The action changes the supplied messages rather than every message in their threads.