Fixed 'undefined destination email' bug