fixed bugs in writing the config (forgot to rename new file, correct regex for current config format)
moved default config file to new subdirectory
debugging option to not send emails