Fixed emailer compiler error