Use sinatra and pg to store emails