Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

357 B
Raw Blame
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}.`;
}