Forward Emails

Create a forwarding address.

To use this action card, you must first set up a Google Cloud project and service account. See Authorize an Account for Transfer of Ownership Features.

Options

Field Definition Type Required
Google Cloud Platform Project Project to which the user belongs.

A maximum of 100 projects are displayed.

Optionally, to specify a project by an email address, select Enter Service Account Email. If you select this option, then the Service Account field will also be populated with the same option. You must enter the email address in the Email field of the Service Account input section.

If a failure occurs and projects are not listed in the dropdown, then only the Enter Service Account Email option will be displayed.

Dropdown TRUE
Service Account Service account to which the user belongs.

A maximum of 100 service accounts are displayed.

If a failure occurs and accounts are not listed in the dropdown, then only the Enter Service Account Email option will be displayed.

Dropdown TRUE

Input

Field Definition Type Required
Service Account
Email

Email address of the service account.

If you select Enter Service Account Email from the Google Cloud Platform Project or Service Account option dropdowns, then a value for this input field is required.

String TRUE
Forward From
Email Email address from which messages can be forwarded. String TRUE
Forward To
Email Email address to which messages can be forwarded. String TRUE

Output

Field Definition Type
Forwarding Email Email address to which messages can be forwarded. String
Enabled Indicates whether forwarded is enabled or not. Values are true or false. Boolean
Disposition Indicates the state that a message should be left in after it has been forwarded; values are:
  • archive: archive the message
  • dispositionUnspecified: unspecified disposition
  • leaveInInbox: leave the message in the inbox
  • markRead: leave the message in the inbox and mark it as read
  • trash: move the message to the trash
String

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation