systemprompt-mcp-gmail
Version:
A specialized Model Context Protocol (MCP) server that enables you to search, read, delete and send emails from your Gmail account, leveraging an AI Agent to help with each operation.
21 lines • 576 B
JavaScript
import { GoogleAuthService } from "./google-auth-service.js";
export class GoogleBaseService {
auth = GoogleAuthService.getInstance();
initPromise;
constructor() {
this.initPromise = this.initializeAuth();
}
async initializeAuth() {
try {
await this.auth.initialize();
}
catch (error) {
console.error("Failed to initialize Google auth:", error);
throw error;
}
}
async waitForInit() {
await this.initPromise;
}
}
//# sourceMappingURL=google-base-service.js.map