Added Gemfile.lock after `bundle install`
Moved mail configuration to api file
Added api for publication. Mail sent after creation with a link to the publication api