added email support to settings