added support for email notifications on folders, added console support for flags, email notifications are sent from noreply@uq.edu.au