AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
/**
* Normalise an optional array of email addresses into a single
* comma-separated string accepted by the Postmark API.
*/
export function normalizeEmails(emails?: string[]): string | undefined {
if (!emails || emails.length === 0) return undefined;
return emails
.map((e) => e.trim())
.filter((e) => e.length > 0)
.join(', ');
}