user email update apis and templates