add email spec configuration to spec helper