Added templating for mails and twitter