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.

470 B
Raw Blame

Email SFS Delete Handler

This Lambda function executes daily to clean up orphaned static file service (SFS) attachments. It queries the email_attachments_sfs table for records where attachment_id is NULL (indicating the attachment is no longer linked to any email) and publishes delete messages to the SFS delete queue. This triggers the SFS delete worker to remove the orphaned files from the static file service and clean up the corresponding database records.