feat: send an email when an issue is created and assigned to a government
also refactor the registration mailer to
- extract common code
- send the email asynchronously
Sending emails asynchronously is good in general to make the feedback faster, to avoid failing in case the email can't be sent, and to make sure the email is sent only if the transaction succeeds
fix #20 (closed)