Fixed the email button and added getFavorites

added a basic function outline for getFavorites