Changing mail template to allow custom footer