#!/usr/bin/env node /** * RevealUI Email MCP Server * * Model Context Protocol server that exposes email sending tools. * Lets AI agents send notification emails, digests, alerts, and * templated messages on behalf of a RevealUI site. * * Provider: Gmail REST API (GOOGLE_SERVICE_ACCOUNT_EMAIL + GOOGLE_PRIVATE_KEY) * * Environment: * GOOGLE_SERVICE_ACCOUNT_EMAIL - Google Workspace service account * GOOGLE_PRIVATE_KEY - RSA private key (PKCS8, \n-escaped) * EMAIL_FROM - Sender address (default: noreply@revealui.com) * EMAIL_REPLY_TO - Default reply-to (e.g. support@revealui.com) * * Tools: * email_send - Send a single email (HTML or plain text) * email_send_batch - Send up to 100 emails in one request */ import { z } from 'zod/v4'; /** * Set credential overrides for this server. * Called by the Hypervisor with resolved tenant credentials. */ export declare function setCredentials(creds: Record): void; export declare const EmailSendArgsSchema: z.ZodObject<{ to: z.ZodUnion]>; subject: z.ZodString; html: z.ZodOptional; text: z.ZodOptional; from: z.ZodOptional; reply_to: z.ZodOptional; }, z.core.$strict>; export declare const EmailSendBatchArgsSchema: z.ZodObject<{ emails: z.ZodArray; text: z.ZodOptional; from: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; //# sourceMappingURL=revealui-email.d.ts.map