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

UsersMessagesImportOptions

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

Additional options for Gmail#usersMessagesImport.

interface UsersMessagesImportOptions {
deleted?: boolean;
internalDateSource?: "receivedTime" | "dateHeader";
neverMarkSpam?: boolean;
processForCalendar?: boolean;
}

§Properties

§
deleted?: boolean
[src]

Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.

§
internalDateSource?: "receivedTime" | "dateHeader"
[src]

Source for Gmail's internal date of the message.

§
neverMarkSpam?: boolean
[src]

Ignore the Gmail spam classifier decision and never mark this email as SPAM in the mailbox.

§
processForCalendar?: boolean
[src]

Process calendar invites in the email and add any extracted meetings to the Google Calendar for this user.