Skip to content

[Mate][Symfony] Add MailerCollectorFormatter for Symfony profiler#1614

Draft
wachterjohannes wants to merge 1 commit intosymfony:mainfrom
wachterjohannes:feature/mate-mailer-collector-formatter
Draft

[Mate][Symfony] Add MailerCollectorFormatter for Symfony profiler#1614
wachterjohannes wants to merge 1 commit intosymfony:mainfrom
wachterjohannes:feature/mate-mailer-collector-formatter

Conversation

@wachterjohannes
Copy link
Contributor

@wachterjohannes wachterjohannes commented Feb 16, 2026

Q A
Bug fix? yes
New feature? yes
Docs? no
Issues Fixes parts of #1440
License MIT

Summary

Add a MailerCollectorFormatter that extracts email message details from Symfony's MessageDataCollector for AI consumption in the Mate profiler extension.

The formatter extracts:

  • Subject, from, to, cc, bcc, reply_to addresses
  • Text body (truncated to 500 chars) and HTML body indicator
  • Links extracted from text body (plain URLs) and HTML body (href attributes), deduplicated
  • Attachment metadata (filename, content type)
  • Transport name and queued status

@OskarStark OskarStark changed the title [Mate] Add MailerCollectorFormatter for Symfony profiler [Mate] Add MailerCollectorFormatter for Symfony profiler Feb 17, 2026
@OskarStark
Copy link
Contributor

Rebase unlocked after #1628

@wachterjohannes wachterjohannes changed the title [Mate] Add MailerCollectorFormatter for Symfony profiler [Mate][Symfony] Add MailerCollectorFormatter for Symfony profiler Feb 18, 2026
@wachterjohannes wachterjohannes force-pushed the feature/mate-mailer-collector-formatter branch 7 times, most recently from 786f547 to 9c75a37 Compare February 19, 2026 20:27
@wachterjohannes wachterjohannes force-pushed the feature/mate-mailer-collector-formatter branch 2 times, most recently from 2365533 to 029afca Compare February 19, 2026 20:36
Add a new formatter that extracts email message details from Symfony's
MessageDataCollector for AI consumption in the Mate profiler extension.

The formatter extracts:
- Subject, from, to, cc, bcc, reply_to addresses
- Text body (truncated to 500 chars) and HTML body indicator
- Attachment metadata (filename, content type)
- Transport name and queued status
@wachterjohannes wachterjohannes force-pushed the feature/mate-mailer-collector-formatter branch from 029afca to 019615a Compare February 19, 2026 20:46
@wachterjohannes
Copy link
Contributor Author

@OskarStark fixed everything - but wait with a final review, i have to test it in a real world app and maybe also integrate it into the demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments