{"action":"opened","issue":{"url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/14","repository_url":"https://api.github.com/repos/bradpauly/griddler-mailgun","labels_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/14/comments","events_url":"https://api.github.com/repos/bradpauly/griddler-mailgun/issues/14/events","html_url":"https://github.com/bradpauly/griddler-mailgun/issues/14","id":148456957,"number":14,"title":"BCC coming in as params[:recipient]","user":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T19:19:05Z","updated_at":"2016-04-14T19:19:05Z","closed_at":null,"body":"My mailgun route looks like this:\r\n\r\n```\r\nmatch_recipient(\"^something\")\r\n```\r\n\r\nWhen I send an email with a BCC of `something@mydomain.com`, `email.bcc` will be an empty array. However `params[:recipient]` will be `something@mydomain.com`.\r\n\r\nI'm curious if there's a decent way to handle this. My current solution involves a monkeypatch:\r\n\r\n```ruby\r\nmodule NormalizationWithRecipient\r\n  def normalize_params\r\n    super.tap { |result| result[:bcc] << params[:recipient] }\r\n  end\r\nend\r\n\r\nGriddler::Mailgun::Adapter.prepend NormalizationWithRecipient\r\n```"}}