fixed Gemfile, fixed tpl for email