Compare commits

..

6 Commits

Author SHA1 Message Date
Jeff Emmett 0a63bbe9f7 Switch n8n email from Resend API to Mailcow SMTP
Replace all Resend HTTP API calls with n8n built-in emailSend
nodes using Mailcow SMTP at mx.jeffemmett.com:587 (STARTTLS).
Add SMTP env vars and n8n API key to docker-compose config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 00:30:05 +00:00
Jeff Emmett c8b9388c63 docs(backlog): initialize backlog and add infrastructure task (task-1)
Set up backlog tracking for CosmoLocal. Task-1 documents completed
infrastructure: Mailcow SMTP, Docmost workspace, Listmonk newsletter
list with per-list RBAC for Bryan, and email DNS authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 00:20:52 +00:00
Jeff Emmett df641f6208 Remove hardcoded API keys and credentials from tracked files
Move RESEND_API_KEY and Listmonk credentials to .env file
on the server. No secrets should be committed to the repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 12:19:40 +00:00
Jeff Emmett 5ea319e03c Add API keys as Docker env vars for n8n community edition
n8n community edition doesn't have Settings > Variables.
Pass TWENTY_API_KEY and RESEND_API_KEY as container
environment variables instead, accessible via $env.* in workflows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:35:20 +00:00
Jeff Emmett 8d55469c4e Add 5 n8n CRM automation workflows
- 01: Contact intake webhook → Twenty CRM
- 02: Lead nurturing 3-email sequence via Resend
- 03: Daily CRM → Listmonk newsletter sync
- 04: Weekly stale contact follow-up reminders
- 05: Gitea/GitHub webhook events → CRM activity log

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 14:20:28 +00:00
Jeff Emmett b5566c53dd Add n8n instance at automate.cosmolocal.world
Adds n8n workflow automation with PostgreSQL backend,
Traefik routing for automate.cosmolocal.world, and
isolated internal network for the database.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:56:25 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ services:
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=${N8N_DB_PASSWORD}
- DB_POSTGRESDB_PASSWORD=${N8N_DB_PASSWORD:-cosmolocal-n8n-2026}
- TWENTY_API_KEY=${TWENTY_API_KEY}
- LISTMONK_CREDENTIALS=${LISTMONK_CREDENTIALS}
- N8N_SMTP_HOST=mx.jeffemmett.com
@ -65,7 +65,7 @@ services:
environment:
- POSTGRES_DB=n8n
- POSTGRES_USER=n8n
- POSTGRES_PASSWORD=${N8N_DB_PASSWORD}
- POSTGRES_PASSWORD=${N8N_DB_PASSWORD:-cosmolocal-n8n-2026}
volumes:
- n8n-cosmolocal-db:/var/lib/postgresql/data
healthcheck: