Invite emails fail in 1.14.x – "Email missing required fields" despite valid SMTP config #398

Closed
opened 2026-04-05 17:08:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Seanluc17 on 1/7/2026

Describe the Bug

In Pangolin 1.14.1, invitation emails are not sent even though SMTP is correctly
configured and verified to be working.

When inviting a user via the UI, Pangolin reports that the email was sent,
but no email is delivered. The SMTP provider (Resend) does not receive any request.

Pangolin logs show an error indicating missing email fields, although all required
fields are configured.

Log output:
[error]: Email missing required fields {"to":"user@example.com","subject":"You're invited to join MyOrganization"}

Additional notes:

  • SMTP connectivity was verified manually using swaks inside the container.
  • Resend domain is fully verified (SPF, DKIM, MX).
  • Sending test emails via swaks succeeds.
  • No request appears in Resend logs when Pangolin sends invites.

Environment

Pangolin version: 1.14.1 (Docker image: fosrl/pangolin:latest)
Deployment: Docker Compose
Email provider: SMTP (Resend)
Operating system: Linux (Hetzner VPS)

To Reproduce

  1. Configure SMTP in config.yml:

    email:
    enabled: true
    provider: smtp
    from: "Bruchtal noreply@mydomain.com"
    smtp:
    host: smtp.resend.com
    port: 587
    secure: false
    user: resend
    pass:

  2. Start Pangolin 1.14.1

  3. Log in to the UI as admin

  4. Invite a new user via the UI

Expected Behavior

The invited user should receive an invitation email.

*Originally created by @Seanluc17 on 1/7/2026* ### Describe the Bug In Pangolin 1.14.1, invitation emails are not sent even though SMTP is correctly configured and verified to be working. When inviting a user via the UI, Pangolin reports that the email was sent, but no email is delivered. The SMTP provider (Resend) does not receive any request. Pangolin logs show an error indicating missing email fields, although all required fields are configured. Log output: [error]: Email missing required fields {"to":"user@example.com","subject":"You're invited to join MyOrganization"} Additional notes: - SMTP connectivity was verified manually using swaks inside the container. - Resend domain is fully verified (SPF, DKIM, MX). - Sending test emails via swaks succeeds. - No request appears in Resend logs when Pangolin sends invites. ### Environment Pangolin version: 1.14.1 (Docker image: fosrl/pangolin:latest) Deployment: Docker Compose Email provider: SMTP (Resend) Operating system: Linux (Hetzner VPS) ### To Reproduce 1. Configure SMTP in config.yml: email: enabled: true provider: smtp from: "Bruchtal <noreply@mydomain.com>" smtp: host: smtp.resend.com port: 587 secure: false user: resend pass: <valid password> 2. Start Pangolin 1.14.1 3. Log in to the UI as admin 4. Invite a new user via the UI ### Expected Behavior The invited user should receive an invitation email.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#398