Skip to content

Missing structured outbound TLS metrics #37

Description

@mohamedboukari

Description

Can't tell from logs whether a delivery used TLS, what cipher, or whether the cert validated.

Ref: src/modules/emails/services/mailer.service.ts:100transport.sendMail(mailOptions) returns no TLS info to the caller.

Acceptance criteria

  • Log tls: { used, version, cipher, validated } on every outbound send
  • Surface aggregated TLS rate on the dashboard (% delivered with TLS)
  • Optionally expose via /api/v1/stats endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions