Get Auto Forwarding
|
|||||
|
|
Gets the auto-forwarding setting for the specified account
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Read, compose, send, and permanently delete all your email from Gmail
- View and modify but not delete your email
- View your email messages and settings
- Manage your basic mail settings
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
User's email address. The special value "me" can be used to indicate the authenticated user |
= Parameter name
= Format
userId STRING Required User's email address. The special value "me" can be used to indicate the authenticated user |
Output
This building block provides 3 output parameters
Name | Format | Description |
---|---|---|
disposition |
ENUMERATION |
The state that a message should be left in after it has been forwarded |
emailAddress |
STRING |
Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses |
enabled |
BOOLEAN |
Whether all incoming mail is automatically forwarded to another address |
= Parameter name
= Format
disposition ENUMERATION The state that a message should be left in after it has been forwarded |
emailAddress STRING Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses |
enabled BOOLEAN Whether all incoming mail is automatically forwarded to another address |