Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AutoForwarding

import type { AutoForwarding } from "https://googleapis.deno.dev/v1/gmail:v1.ts";

Auto-forwarding settings for an account.

interface AutoForwarding {
disposition?:
| "dispositionUnspecified"
| "leaveInInbox"
| "archive"
| "trash"
| "markRead";
emailAddress?: string;
enabled?: boolean;
}

§Properties

§
disposition?: "dispositionUnspecified" | "leaveInInbox" | "archive" | "trash" | "markRead"
[src]

The state that a message should be left in after it has been forwarded.

§
emailAddress?: string
[src]

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

§
enabled?: boolean
[src]

Whether all incoming mail is automatically forwarded to another address.