Sinatra API for EWS app