{"id":15044033,"url":"https://github.com/marktennyson/fastapi-mailman","last_synced_at":"2025-08-17T18:08:48.371Z","repository":{"id":43347137,"uuid":"411626841","full_name":"marktennyson/fastapi-mailman","owner":"marktennyson","description":"Porting Django's email implementation to your FastAPI applications.","archived":false,"fork":false,"pushed_at":"2023-01-16T07:17:39.000Z","size":752,"stargazers_count":19,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-07-01T23:48:56.717Z","etag":null,"topics":["fastapi","fastapi-extension","fastapi-framework","fastapi-library","fastapi-mail","fastapi-mailman","fastapi-smtp","smtp"],"latest_commit_sha":null,"homepage":"http://gh.aniketsarkar.site/fastapi-mailman/","language":"Python","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/marktennyson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-29T10:20:59.000Z","updated_at":"2025-03-06T04:28:39.000Z","dependencies_parsed_at":"2023-02-10T01:35:14.518Z","dependency_job_id":null,"html_url":"https://github.com/marktennyson/fastapi-mailman","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/marktennyson/fastapi-mailman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktennyson%2Ffastapi-mailman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktennyson%2Ffastapi-mailman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktennyson%2Ffastapi-mailman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktennyson%2Ffastapi-mailman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marktennyson","download_url":"https://codeload.github.com/marktennyson/fastapi-mailman/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktennyson%2Ffastapi-mailman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270885654,"owners_count":24662498,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastapi","fastapi-extension","fastapi-framework","fastapi-library","fastapi-mail","fastapi-mailman","fastapi-smtp","smtp"],"created_at":"2024-09-24T20:49:58.942Z","updated_at":"2025-08-17T18:08:48.345Z","avatar_url":"https://github.com/marktennyson.png","language":"Python","readme":"# 📬 Fastapi-Mailman\n\u003cimg src=\"https://raw.githubusercontent.com/marktennyson/fastapi-mailman/master/logos/fastapi_mailman_logo.png\"\u003e\u003c/img\u003e\n\n### 🔥 Porting Django's email implementation to your FastAPI applications.\n![PyPI](https://img.shields.io/pypi/v/fastapi-mailman?color=blue)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/fastapi-mailman?color=brightgreen)\n[![dev workflow](https://github.com/marktennyson/fastapi-mailman/actions/workflows/dev.yml/badge.svg?branch=master)](https://github.com/marktennyson/fastapi-mailman/actions/workflows/dev.yml)\n![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/marktennyson/fastapi-mailman/latest?color=cyan)\n![PyPI - License](https://img.shields.io/pypi/l/fastapi-mailman?color=blue)\n\nFastapi-Mailman is a Fastapi extension providing simple email sending capabilities. It's actually a hard fork of `waynerv's` `flask-mailman` module. I have tried to implement the same features for the `Fastapi` too.\n\nIt was meant to replace the basic Fastapi-Mail with a better warranty and more features.\n\n## ⛲ Key Features:\n1. Easy to use.\n2. Backend based email sender.\n3. Customisable backend class.\n4. Proper testcases.\n5. Proper documentation.\n\n## 🔗 Important Links:\n[Github Repo](https://github.com/marktennyson/fastapi-mailman)     \n[PYPI](https://pypi.org/project/fastapi-mailman)     \n[Documentation](https://marktennyson.github.io/fastapi-mailman)      \n\n## 💯 Usage\n\nFastapi-Mailman ported Django's email implementation to your Fastapi applications, which may be the best mail sending implementation that's available for python.\n\nThe way of using this extension is almost the same as Django.\n\nDocumentation: [https://marktennyson.github.io/fastapi-mailman.](https://marktennyson.github.io/fastapi-mailman)\n\n## 🪜 Basic Example\n```python\nfrom fastapi import FastAPI\nimport uvicorn as uv\nfrom fastapi_mailman import Mail, EmailMessage\nfrom fastapi_mailman.config import ConnectionConfig\n\napp = FastAPI(debug=True)\n\nconfig = config = ConnectionConfig(\n    MAIL_USERNAME = 'example@domain.com',\n    MAIL_PASSWORD = \"7655tgrf443%$\",\n    MAIL_BACKEND =  'smtp',\n    MAIL_SERVER =  'smtp.gmail.com',\n    MAIL_PORT = 587,\n    MAIL_USE_TLS = True,\n    MAIL_USE_SSL = False,\n    MAIL_DEFAULT_SENDER = 'example@domain.com',\n    )\nmail = Mail(config)\n\n@app.get(\"/send-base\")\nasync def send_base():\n    msg = EmailMessage('this is subject', 'this is message', to=['aniketsarkar@yahoo.com'])\n    await msg.send()\n    return {\"Hello\": \"World\"}\n\n@app.get(\"/send-mail\")\nasync def check_send_mail():\n    await mail.send_mail(\"this is subject\", \"this is message\", None, [\"aniketsarkar@yahoo.com\"])\n    return {\"Hello\": \"World\"}\n\n\nif __name__ == \"__main__\":\n    uv.run(app, port=8082, debug=True)\n```\n## 🚇 Development\n\n#### 🧑‍💻 Contribution procedure.\n1. Create a new issue on github.\n2. Fork and clone this repository.\n3. Make some changes as required.\n4. Write unit test to showcase its functionality.\n5. Submit a pull request under the `master` branch.\n\n#### 🖨️ Run this project on your local machine.\nTo run this project on your local machine please [click here](https://marktennyson.github.io/fastapi-mailman/contributing)\n\n### ❤️ Contributors\nCredits goes to these peoples:\n\n\u003ca href=\"https://github.com/marktennyson/fastapi-mailman/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=marktennyson/fastapi-mailman\" /\u003e\n\u003c/a\u003e\n\n## 📝 License\n\n[MIT](https://github.com/marktennyson/fastapi-mailman/blob/master/LICENSE)\n\nCopyright (c) 2021 Aniket Sarkar(aniketsarkar@yahoo.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarktennyson%2Ffastapi-mailman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarktennyson%2Ffastapi-mailman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarktennyson%2Ffastapi-mailman/lists"}