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
/// Creates a notification email sent record for a user
#[tracing::instrument(skip(db))]
pub async fn create_notification_email_sent(
db: &sqlx::Pool<sqlx::Postgres>,
user_id: &str,
) -> anyhow::Result<()> {
sqlx::query!(
r#"
INSERT INTO notification_email_sent (user_id)
VALUES ($1)
"#,
user_id,
)
.execute(db)
.await?;
Ok(())
}