Fix for failing Travis-CI email test