Skip to main content
Glama
by ggiraudon
MailItem.ts780 B
// Namespace: EmailModels import { z } from 'zod'; import { EmailAddressSchema } from './EmailAddress.js'; export const MailItemSchema = z.object({ id: z.number().optional(), subject: z.string().optional(), from: EmailAddressSchema.optional(), to: z.array(EmailAddressSchema).optional(), cc: z.array(EmailAddressSchema).optional(), bcc: z.array(EmailAddressSchema).optional(), date: z.coerce.date().optional(), messageId: z.string().optional(), inReplyTo: z.string().optional(), references: z.array(z.string()).optional(), text: z.string().optional(), html: z.string().optional(), headers: z.record(z.any()).optional(), attachments: z.array(z.any()).optional(), }); export type MailItem = z.infer<typeof MailItemSchema>;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ggiraudon/emailMCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server