check if emails work