removed hosted from settings (can be done via parameter), also removed the feed setting, code cleanup and factorisation of base gmail URL for easier future updates if something breaks