# beyondcode/laravel-mailbox

Catch incoming emails in your Laravel application

Repository: https://github.com/beyondcode/laravel-mailbox
Canonical: https://ross.abutalabs.com/products/laravel-mailbox
Homepage: https://beyondco.de/docs/laravel-mailbox/getting-started/introduction
Language: PHP
License: MIT
License Family: permissive
Topics: mail, laravel, mailgun, sendgrid, hacktoberfest
Last push: 2026-03-20T15:55:26+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 73, release rhythm 51, longevity 100
- inputs: {"age_days": 2781, "days_push": 166, "days_rel": 166, "gap_med": 111, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1132, forks 127 (observed 2026-08-28T04:03:42.658045+00:00)

## What it is
A Laravel package that lets applications catch and react to incoming emails from services like Mailgun, SendGrid, and Postmark, or a local log driver for debugging. It provides route-like mailbox handlers and stores parsed inbound messages in the database.

## Use cases
- handle incoming emails in a laravel app
- process email replies to notifications
- parse inbound email attachments from mailgun
- build email-to-action workflows like posting via email
- test and debug inbound email handling locally
- store incoming emails in the database with cleanup

## When to choose
- you use Laravel and need to react to inbound emails from Mailgun, SendGrid, or Postmark
- you want route-style closures or invokable classes for email handling
- you need local log-driver based email testing without an external service

## When to avoid
- you are not using Laravel or PHP
- you need to send outbound email rather than receive it
- you need a full self-hosted mail server or SMTP receiver

## Facets
- artifact type: library
- maturity: maintenance
- function: email, parser, webhook, middleware
- domain: email, web-development, backend
- platform: php, self-hosted
- tags: inbound-email, mailgun, sendgrid, postmark, laravel-package, email-parsing, mime, automation, laravel, web-server

## Member repositories
- beyondcode/laravel-mailbox (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.658045+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:56.505457+00:00, confidence not recorded.
  - readme: https://github.com/beyondcode/laravel-mailbox (fetched 2026-08-28T04:03:42.658045+00:00, sha 521c3c89f9c4)
  - homepage: https://beyondco.de/docs/laravel-mailbox/getting-started/introduction (fetched 2026-08-29T12:42:20.052650+00:00, sha a1a5f40a430b)
  - site_page: https://beyondco.de/about-us (fetched 2026-08-29T12:42:20.061535+00:00, sha 0ca14b140952)
  - site_page: https://beyondco.de/docs/laravel-mailbox/getting-started/installation (fetched 2026-08-29T12:42:20.064978+00:00, sha d9b2a02fc662)
  - site_page: https://beyondco.de/docs/laravel-mailbox/getting-started/questions-issues (fetched 2026-08-29T12:42:20.066556+00:00, sha 8218f2b21952)
  - site_page: https://beyondco.de/docs/laravel-mailbox/basic-usage/handling (fetched 2026-08-29T12:42:20.068180+00:00, sha 7ba114c0983a)
  - site_page: https://beyondco.de/docs/laravel-mailbox/basic-usage/mailboxes (fetched 2026-08-29T12:42:20.069886+00:00, sha ee5d4301716a)
  - site_page: https://beyondco.de/docs/laravel-mailbox/drivers/drivers (fetched 2026-08-29T12:42:20.071413+00:00, sha 290a2f5f9a5b)
  - site_page: https://beyondco.de/open-source (fetched 2026-08-29T12:42:20.063402+00:00, sha a637112a3111)
- Data as of 2026-08-30T08:39:29.467469+00:00.
