adding email compatibility