disabling email functionality