fixed emailing and added gemfile