Fixed a bug when \n was found in email list