* @throws ValidationException if the email is not valid
*/
public static boolean isEmailSplitInTwoParts(String email) throws ValidationException {
if (!validateEmail(email)) {
throw new ValidationException("Email is not valid");
}
int index = email.indexOf('@');
String prefix = email.substring(0, index);