Fix default email bug