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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article