new rest api

screens redesigned, making new rest api call to the email service.