do not format emails if in test