{"id":16931645,"url":"https://github.com/mjarkk/mini-mail-dev","last_synced_at":"2026-03-15T08:02:11.088Z","repository":{"id":200014597,"uuid":"704485617","full_name":"mjarkk/mini-mail-dev","owner":"mjarkk","description":"A testing email SMTP server","archived":false,"fork":false,"pushed_at":"2025-03-10T13:36:08.000Z","size":700,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T14:39:04.501Z","etag":null,"topics":["email","maildev","mocking","smtp","smtp-server","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjarkk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-13T11:07:41.000Z","updated_at":"2025-03-10T22:19:07.000Z","dependencies_parsed_at":"2024-07-28T12:41:43.027Z","dependency_job_id":null,"html_url":"https://github.com/mjarkk/mini-mail-dev","commit_stats":null,"previous_names":["mjarkk/mini-mail-dev"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjarkk%2Fmini-mail-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjarkk%2Fmini-mail-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjarkk%2Fmini-mail-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjarkk%2Fmini-mail-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjarkk","download_url":"https://codeload.github.com/mjarkk/mini-mail-dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248460687,"owners_count":21107538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","maildev","mocking","smtp","smtp-server","testing"],"created_at":"2024-10-13T20:44:26.390Z","updated_at":"2026-03-15T08:02:06.047Z","avatar_url":"https://github.com/mjarkk.png","language":"Go","readme":"# `mini-mail-dev`\n\n![Screenshot](/screenshot.jpg?raw=true \"Screnshot\")\n\nA alternative take on a development / testing email server.\n\nFeatures:\n\n- Get started with a single command\n- Simple UI\n- Fast\n- Can handle a vast amounts of emails\n\n## Run\n\n**Docker**\n\n```bash\ndocker run -it --rm -p 1080:1080 -p 1025:1025 ghcr.io/mjarkk/mini-mail-dev:latest\n```\n\n**Docker build**\n\n```bash\ngit clone https://github.com/mjarkk/mini-mail-dev\ncd mini-mail-dev\ndocker build -t mini-mail-dev .\ndocker run -it --rm -p 1080:1080 -p 1025:1025 mini-mail-dev\n```\n\n**Go Install**\n\n_(you might not have the latest version if you have installed it earlier)_\n\n```bash\ngo install github.com/mjarkk/mini-mail-dev@latest\nmini-mail-dev\n```\n\n**Git clone \u0026 Go build**\n\n```bash\ngit clone https://github.com/mjarkk/mini-mail-dev\ncd mini-mail-dev\ngo build\n./mini-mail-dev\n```\n\n## Usage\n\n```sh\nmini-mail-dev [--flags]\n```\n\nOptions:\n\n| name                   | Flag                   | Envourment variable  | Default        |\n| ---------------------- | ---------------------- | -------------------- | -------------- |\n| Disable web            | `--disable-web`        | `DISABLE_WEB`        | `false`        |\n| HTTP address           | `--http`               | `HTTP_ADDR`          | `0.0.0.0:1080` |\n| HTTP password          | `--http-pass`          | `HTTP_PASS`          |                |\n| HTTP username          | `--http-user`          | `HTTP_USER`          |                |\n| Max emails             | `--max-emails`         | `MAX_EMAILS`         | `200`          |\n| SMTP address           | `--smtp`               | `SMTP_ADDR`          | `0.0.0.0:1025` |\n| SMTP domain            | `--smtp-domain`        | `SMTP_DOMAIN`        | `localhost`    |\n| SMTP incoming password | `--smtp-incoming-pass` | `SMTP_INCOMING_PASS` |                |\n| SMTP incoming username | `--smtp-incoming-user` | `SMTP_INCOMING_USER` |                |\n| SMTP TLS               | `--smtp-tls`           | `SMTP_TLS`           | `false`        |\n\n_Note that authentication is only enabled if you provided the relevant envourment variables_\n\n## Why\n\nSomething something reinventing the wheel :^)\n\nBut besides the fun of reinventing the wheel I do have some reasons for making this.\nI used maildev before this and I have some annoyances with it. It's an awesome project and has improved my life, but after using it for many years I have also noticed it's not without its flaws. So here is `mini-mail-dev`, my take on a mail development server and with fixes for my maildev problems.\n\nHere are things this project aims to improve / do different compared to maildev:\n\n- Attachments not hidden behind a button\n- By default a fixed max amount of emails and when exceeded old emails are removed. _(So you can safely deploy this on a server without much storage or cpu as the server does not have to store a shitload of emails when sending a shitload of emails on a staging server hehe)_\n- Different server side language. _Mail dev has a tendency to break when running it on a server and sending more than the \"average\" amound of mails (my experience is at around 5.000 emails). By applying the above and using a language that is better suited for these kinds of things I can deploy this on every potato in the world._\n\n## Development:\n\nRequirements:\n\n- Golang v1.21 +\n- Nodejs\n\n### Dev\n\n```bash\ngo run .\n# In another terminal tab run:\nnpm run dev\n\n# For sending a few testing mails to the server run\ngo run test/test_email.go\n```\n\n_The javascript files are hot module reloaded only when going to [localhost:**3001**](http://localhost:3001), the go files are not reloaded on changes made_\n\n### Create and run a release build\n\n```bash\n# Build frontend\nnpm i\nnpm run build\n\n# Build backend\ngo get\ngo build\n```\n\nNow you can start `mini-mail-dev` using\n\n```bash\n./mini-mail-dev\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjarkk%2Fmini-mail-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjarkk%2Fmini-mail-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjarkk%2Fmini-mail-dev/lists"}