added email handling library