Run db tasks on one rake task for travis
Add email support to test env.
Update test for projects