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
//! Provider-neutral email API models.
mod address_book;
mod auth;
mod changes;
mod draft;
mod error;
mod mailbox;
mod mailbox_settings;
mod operation;
mod permit;
mod provider;
mod send;
pub use address_book::*;
pub use auth::{AccessToken, TokenError, TokenFreshness};
pub use changes::{ChangeBatch, ChangePage, InboxChanges, SyncCursor};
pub use draft::*;
pub use error::{EmailApiError, GateLimit, RateLimitOrigin, RateLimitRefusal};
pub use mailbox::{
CalendarPart, ContactPage, MessageWithCalendarParts, ProviderSubscription, ThreadListPage,
};
pub use mailbox_settings::*;
pub use operation::ApiOperationKind;
pub use permit::{MailboxLoad, RequestPermit};
pub use provider::*;
#[cfg(feature = "ports")]
pub use send::PreparedSendMessage;
#[cfg(feature = "ports")]
pub(crate) use send::validate_message_id;
pub use send::{SendRequest, SentIds};