Fix a bug when there are no empty lines in email