Temporary email style website and backend starter with Nigeria pidgin UI
# Y Mail
Y Mail na temporary-email style website and backend starter with Nigerian Pidgin UI.
## Wetin dey inside
- Modern landing page
- Temporary inbox UI
- Create email button
- Copy email button
- Check message button
- Backend API mock for generating inbox and reading messages
- Auto-expiry timer design
- Nigerian Pidgin wording
## Run am locally
You need Node.js installed first.
```bash
npm install
npm run dev
```
Open the website here:
```text
localhost
```
Backend go run here:
```text
localhost
```
## Test message endpoint
After you create inbox, you fit add demo message with:
```bash
curl -X POST
localhost \
-H "Content-Type: application/json" \
-d '{"subject":"New message don land!","preview":"This na test message for Y Mail."}'
```
## Important
This starter still dey use mock emails stored in memory. To receive real emails, connect a mail provider like Mailgun, Postmark Inbound, SendGrid Inbound Parse, Postal, or custom SMTP server.
## Production setup
- Frontend: React/Vite or Next.js
- Backend: Node.js/Express
- Database: PostgreSQL or MongoDB
- Email receiving: Mailgun Routes, Postmark Inbound, SendGrid Inbound Parse, or self-hosted Postal
- Cleanup: scheduled job wey deletes expired inboxes and messages
## Safety policy idea
Use Y Mail for privacy, spam prevention, testing, and temporary signups. Block abuse, spam, fraud, phishing, and illegal use.