We have smtplib to send emails (probably a good idea to use mailgun's too, but other providers should also work, hence using smtplib and not mailgun's HTTP library).
- Add support for Capability URLs (the urls with unique ids, store them in a table, etc)
- Make a pretty API for generating those Capability URLs
Integrate it on
USER_UPDATEevents when the user clicks the URL.