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

MailOptions

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

Additional options for Gmail search

interface MailOptions {
clientSideEncryptedOption?:
| "CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED"
| "CLIENT_SIDE_ENCRYPTED_OPTION_ANY"
| "CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED"
| "CLIENT_SIDE_ENCRYPTED_OPTION_UNENCRYPTED";
excludeDrafts?: boolean;
}

§Properties

§
clientSideEncryptedOption?: "CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED" | "CLIENT_SIDE_ENCRYPTED_OPTION_ANY" | "CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED" | "CLIENT_SIDE_ENCRYPTED_OPTION_UNENCRYPTED"
[src]

Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.

§
excludeDrafts?: boolean
[src]

Set to true to exclude drafts.