import { defineMessageLabelMutation } from "../lib/action-factories" /** * Archives one or many Gmail messages. * * The returned IDs can be passed directly to another batch-friendly action. */ export const archiveGmailMessages = defineMessageLabelMutation( "Archive Gmail messages", "Archives Gmail messages by removing them from the inbox.", { removeLabelIds: ["INBOX"] }, )