inject dependency to mailer in group for testing purpose

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
add mock and test for mail sender

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>