index.ts
Language TypeScript1.0 KB57 lines
export {accessTokenFor,accessTokenForCredential,accessTokenForRefresh,isRefreshCredential,type GmailCredential,type RefreshCredential,b64urlText,GmailAuthError,GMAIL_SCOPE,GMAIL_SCOPES,GMAIL_READ_SCOPE,GMAIL_SEND_SCOPE,scopesGranted,importPrivateKey,parseServiceAccountSecret,type ServiceAccount,type TokenResult,} from './oauth.js'export {BODY_CAP,HTML_CAP,collectAttachments,decodeB64Url,decodeB64UrlBytes,extractBody,htmlToText,type Attachment,type MessageBody,} from './body.js'export {ATTACHMENT_DOWNLOAD_CAP,buildBatchBody,cleanSnippet,fetchAttachment,fetchBody,parseBatchResponse,normalizeAddress,parseFrom,readMailbox,splitAddressList,type InboxMessage,type MailboxRead,} from './messages.js'export {buildRawMessage,encodeHeaderWord,mimeParam,rawToB64Url,replySubject,safeMimeType,sendMessage,textToHtml,type OutgoingAttachment,type OutgoingMessage,type SendResult,} from './send.js'