upgrade mail template