PHPackages                             mglaman/mail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. mglaman/mail

ActiveLibrary[CLI &amp; Console](/categories/cli)

mglaman/mail
============

Console app for reading via IMAP

10PHP

Since Mar 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mglaman/mail)[ Packagist](https://packagist.org/packages/mglaman/mail)[ RSS](/packages/mglaman-mail/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Console Mail
============

[](#console-mail)

A Symfonfy console IMAP tool for those of us who are bad at checking email.

Configure
---------

[](#configure)

Copy `config.yml.example` to `config.yml`. Change the host, port, username, and password.

Commands
--------

[](#commands)

Simply running `mail` will return the number of recent and total emails from your inbox. With any of the commands, sub out \[box\] with a folder name.

```
Available commands:
  mail check [BOX]        Returns number of recent and total emails.
  mail list [BOX]         Displays overview 10 recent emails
  mail view ID [BOX]      Views an email
  mail rm ID [BOX]        Moves email to trash. Supports command separated IDs.

```

Kudos
-----

[](#kudos)

- php-imap library so I didn't have to wrap imap\_\*
- platformsh-cli for reference on making Symfony console application.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/98c03d4d2a6aa9b5ecdfc565e8f90f53f0a8f6c2757048a148b34b166d78266c?d=identicon)[mglaman](/maintainers/mglaman)

---

Top Contributors

[![mglaman](https://avatars.githubusercontent.com/u/3698644?v=4)](https://github.com/mglaman "mglaman (2 commits)")

### Embed Badge

![Health badge](/badges/mglaman-mail/health.svg)

```
[![Health](https://phpackages.com/badges/mglaman-mail/health.svg)](https://phpackages.com/packages/mglaman-mail)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
