gmail-to-exchange365
Version:
Complete Gmail to Exchange 365 migration tool with UI - Migrate emails, attachments, and folders seamlessly
12 lines • 494 B
TypeScript
import { Client } from "@microsoft/microsoft-graph-client";
import { EmailMessage } from "./types";
interface MSToken {
access_token: string;
refresh_token?: string;
expires_in?: number;
}
export declare function getGraphClient(msToken: MSToken): Client;
export declare function uploadEmail(client: Client, email: EmailMessage, folderId?: string): Promise<void>;
export declare function buildMime(email: EmailMessage): Buffer;
export {};
//# sourceMappingURL=exchangePusher.d.ts.map