riemann.email: switch formatting functions over to riemann.common