added email configs to application