Added functions for parsing email address.