ContactSelect) and manual email addresses (via ManualRecipientInput), matching the CC patternEmailBuilderSchema defines bcc: [String], sendResendTemplate.ts passes bcc through to the Resend API, and handleEmailJob already includes bcc in CreateEmailOptionsEmailBuilderBase.tsx) renders side-by-side To/CC panels with role and manual address inputs — but has no BCC panel. The save payload in saveEmail() explicitly comments out bcc (// bcc: formData.bcc || []), and bccEmails does not yet exist on the schema — meaning BCC was likely started and intentionally deferred; engineering may have context on whyccEmails exists on EmailBuilderSchema for static CC addresses; a parallel bccEmails field is missing and will need to be addedContactSelect + manual addresses via ManualRecipientInputbccEmails field needs to be added to EmailBuilderSchema to mirror ccEmails. Confirm naming convention before schema migration.Backend (attik monorepo)
apps/backend/src/models/emailBuilderSchema.ts — Add bccEmails: [String] field to EmailBuilderSchema, mirroring ccEmailsapps/backend/src/routes/emailBuilder.ts — Ensure PATCH route accepts and persists bcc and bccEmails fieldsapps/backend/src/util/functions/emails/sendResendTemplate.ts — handleEmailJob already supports bcc in CreateEmailOptions; confirm bccEmails values are merged into the bcc array at send time, same as the cc + ccEmails patternFrontend (attik-frontend)
src/app/tools/action-flow/email-builder/[email_id]/EmailBuilderBase.tsx — Add collapsible BCC section below the To/CC grid; uncomment bcc: formData.bcc || [] in saveEmail(); add bccEmails to save payload, originalFormDataRef, and checkForChanges diffsrc/util/types/serverTypeCollection/emailBuilder.ts — Add bccEmails to the frontend type definitionattik/apps/backend/src/models/emailBuilderSchema.tsattik/apps/backend/src/util/functions/emails/sendResendTemplate.tsattik-frontend/src/app/tools/action-flow/email-builder/[email_id]/EmailBuilderBase.tsxPlease authenticate to join the conversation.
Planned
Main App
27 days ago
Linear
Get notified by email when there are changes.
Planned
Main App
27 days ago
Linear
Get notified by email when there are changes.