Skip to content

Integration: Test & Deploy PDF/Email Pipeline (#104-106 follow-up) #174

@dukedelaet

Description

@dukedelaet

Context

Realtime subscription issues #104, #105, #106 are now resolved. The remaining work is end-to-end testing and production configuration for the PDF/email pipeline.

Tasks

1. Test Local Integration

  • Generate a PDF estimate/invoice via the UI
  • Verify email sending works (check Resend logs)
  • Confirm pdf_archive record is created in Supabase
  • Validate s3_url field is properly populated

2. Configure Resend Secrets (Production)

Set the following secrets on the send-email Edge Function:

  • RESEND_API_KEY — from https://resend.com/keys
  • RESEND_FROM_DOMAIN — verified sender domain (e.g., wrapmind.com)
supabase functions:config:set --project-ref nbewyeoiizlsfmbqoist \
  --secret RESEND_API_KEY=re_xxxxxxxxxxxx \
  RESEND_FROM_DOMAIN=yourdomain.com \
  --function send-email

3. Commit & Push Any Remaining Changes

Ensure all local modifications for the PDF/email pipeline are committed before closing issues.

4. Close Completed Issues

Dependencies

Project

WrapMind / WrapIQ Migration


Created via Hermes Agent — remaining integration tasks after Phase A (Estimates) & Phase B (Invoices) completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions