all repos

onasty @ c685a65

a one-time notes service
name last commit last update
..
.env.example feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET
.envrc chore: add direnv (#64) 1 year ago 2025-01-11 02:38:20 EET
Dockerfile chore: improve how caching while docker builds done (#111) 9 months ago 2025-05-17 22:08:22 EEST
README.md feat: reset password (#110) 9 months ago 2025-05-17 16:25:31 EEST
config.go feat: add oauth2 login for google and github (#109) 10 months ago 2025-05-09 15:56:51 EEST
handlers.go feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET
mailgun.go feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET
main.go refactor: fix annoyances (#97) 10 months ago 2025-04-22 00:54:46 EEST
metrics.go feat: add cors (#115) 9 months ago 2025-05-23 16:59:35 EEST
service.go feat: reset password (#110) 9 months ago 2025-05-17 16:25:31 EEST
template.go feat: reset password (#110) 9 months ago 2025-05-17 16:25:31 EEST
version feat: mailer service (#55) 1 year ago 2025-01-10 22:25:33 EET

mailer service

All templates could be found here

endpoints

mailer.ping

This endpoint always returns pong message

Response:

{
  "message": "pong"
}

mailer.send

Input

Example input

{
  "request_id": "hello_world",
  "receiver": "onasty@example.com",
  "template_name": "email_verification",
  "options": {
    "token": "the_verification_token"
  }
}

Template specific options