Actually register the mail template