Gather usage statistics from BikeMi emails.
It makes an HTTP POST to defined URL once an email arrives
Stores all the bike usages. Remember to define the
Notifies (if you remember to define the
SLACK_URLenv/secret) you of the bike return. Useful since this way you can delete the mail after forwarding it to the service.
- Deploy somewhere
- Setup your domain on Mailgun
- Add a rule to forward the message with subject BikeMi, restituzione registrata to your webhook
- Show the gathered data somehow