switch email method