Refactor kiitos_mailer to allow customization

Signed-off-by: Heriberto Perez <heriberto.perez@crowdint.com>