Auto-replies are explicitly allowed for senders outside contacts and the organization domain
Source references: 1The enable command sets both `restrictToContacts` and `restrictToDomain` to `false`, while the message discloses the user's absence, an expected date, and a backup email address.
External or unknown senders who trigger a reply may learn about staff absence and an internal contact path, increasing targeted phishing, impersonation, or harassment risk.
The enable step explicitly turns off both the contacts and domain restrictions, so replies may go to senders outside the user's contacts and organization. The body would disclose absence status, a date statement, and a backup email to those external senders. This risk arises only if the command is executed and Gmail receives mail eligible for an automatic reply. A user can ask for restrictive defaults and mandatory confirmation of placeholder identity details.
1. Enable vacation responder: `gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": true, "responseSubject": "Out of Office", "responseBodyPlainText": "I am out of the office until Jan 20. For urgent matters, contact backup@company.com.", "restrictToContacts": false, "restrictToDomain": false}'`2. Verify settings: `gws gmail users settings getVacation --params '{"userId": "me"}'`