Laravel Packages

Collect and Monitor Everything About Sent Emails in Your Laravel App

Published
Collect and Monitor Everything About Sent Emails in Your Laravel App image

The Laravel Mails package collects everything about sent emails in your Laravel app. When your app fails to deliver an email, it can be complicated to track down the culprit, or the email can fail invisibly. Using this package, you can surface mail issues, track trends, and get notified when something is wrong.

Main Features

  • Log all sent emails, attachments and events with only specific attributes
  • Works currently for popular email service provider Postmark (more planned)
  • Collect feedback about the delivery status from email providers using webhooks
  • Get quickly and automatically notified when email hard/soft bounces or the bounce rate goes too high
  • Prune all logged emails periodically to keep the database nice and slim
  • Resend logged emails to another recipient
  • View all sent emails in the browser using complementary package Filament Mails

This package is highly configurable - check out the published configuration file for details on everything you can configure in this package.

If you are using Filament, the accompanying Filament Mails plugin can give you a dashboard to visualize important mail stats as well as investigate individual emails:

You can learn more about this package, get full installation instructions, and view the source code on GitHub. Also, check out the accompanying Filament mails plugin.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

tinkerwell logo
Tinkerwell

Enjoy coding and debugging in an editor designed for fast feedback and quick iterations. It's like a shell for your application – but with multi-line editing, code completion, and more.

Visit Tinkerwell

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article