added check for empty additional emails