base routes for emailer api