Updated the email sending. Cleaned some mess, gitignored (?).