Fixed problem with mail