fixing nginx conf for emails.