Add missing ejs dependency.
Add missing smtp config from api config.