1. Google connect koro
App Password lagbe na. Browser theke direct Gmail API diye send hobe.
Authorized JavaScript origin
Client ID save kore Google sign in koro. Token browser memory te thakbe, Cloudflare server e jabe na.
API connect
Onno app/backend theke API key diye email ba OTP trigger korte parba.
API base
API agent off. Google sign in korle queued API job send hobe.
Direct Gmail mode
Tab open na rekhe API theke direct send korte chaile ekbar Google OAuth connect koro. Google Cloud OAuth client e redirect URI add korte hobe:
Redirect URI
Direct mode connected na. Connect korle API job tab charai send hobe.
POST /api/send
Authorization: Bearer YOUR_API_KEY
{"to":"user@example.com","subject":"Hello","html":"<p>Hi</p>"}
POST /api/otp/send
{"email":"user@example.com","appName":"My App","purpose":"login"}
POST /api/otp/verify
{"email":"user@example.com","code":"123456","purpose":"login"}
2. Email likho
HTML inline CSS diye likhle sob mail app e valo render hobe.
Recipient: 0 • HTML: 0 KB
Ready.