InboxAPI is a lightweight email testing API that generates namespaces and captures emails for integration testing.
-
Clone the repository:
git clone https://github.com/c2y5/InboxAPI.git cd InboxAPI -
Install dependencies:
pip install -r requirements.txt
-
Setup
.envMONGO_URI= SECRET_KEY= JWT_SECRET_KEY= -
In Cloudflare worker create a worker, edit the domain urls in ./worker.js (line 7 & 47) and deploy it
-
In the Email tab -> routing rules -> catch-all -> set it to send to worker
Run the app locally:
python app.pyOpen your browser at http://localhost:5000.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to submit issues or pull requests! Suggestions to improve InboxAPI are very welcome.
