fixing the rest of the tests
fixing the rest of the tests
emails now using database for tags