added mail directory to gitignore
can now send emails when new devices are created.