MCP Server for Gmail

Build 25.0.9440

UpdateVacations

Updates vacation responder settings.

Input

Name Type Required Description
EnableAutoReply Bool False Flag that controls whether Gmail automatically replies to messages.
ResponseSubject String False Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty.
ResponseBodyPlainText String False Response body in plain text format. If both responseBodyPlainText and responseBodyHtml are specified, responseBodyHtml will be used.
ResponseBodyHtml String False Response body in HTML format. Gmail will sanitize the HTML before storing it. If both responseBodyPlainText and responseBodyHtml are specified, responseBodyHtml will be used.
RestrictToContacts Bool False Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.
RestrictToDomain Bool False Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Workspace users.
StartTime Datetime False An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.
EndTime Datetime False An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both startTime and endTime are specified, startTime must precede endTime.

Result Set Columns

Name Type Description
Success String Whether the operation was successful or not.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440