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 { normalizeMessageSender } from '@queries/messages/message-sender';
import type { Message } from '@service-storage/messages';
import type { MessageData } from './types';
/** Native messages retain their full shape while adding sender presentation. */
export function messageToMessageData(message: Message): MessageData {
return normalizeMessageSender(message);
}