java.lang.NullPointerException if no email in line