Adds rudimentary email framework.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds email packages to requirements.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Prints emails if DEBUG is set rather than send them.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>