Not sure why the token does not match but you could easily fix the first issue with the following:
# development.rb and test.rb
config.action_mailer.default_url_options = { :host => "localhost:3000" }
As for the production environment configuration, that is up to you.