added test to check behavior if email is not primary
added test to check behavior if message to transform is null
added test to check behavior if any is null