Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { subjectLimitChars } from './constants';
export function subjectLimitHint(
subject: string,
provider?: 'GMAIL' | 'OUTLOOK'
): string | undefined {
const limit = subjectLimitChars(provider);
if (limit === undefined || subject.length <= limit) return undefined;
return `Subject is ${subject.length} characters. Outlook allows ${limit}.`;
}