Fixed a bug when sending an email to several recipients