[reorganized] create db.js   email*.js to unused directory