{"action":"created","issue":{"url":"https://api.github.com/repos/codeforamerica/clean/issues/333","labels_url":"https://api.github.com/repos/codeforamerica/clean/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/codeforamerica/clean/issues/333/comments","events_url":"https://api.github.com/repos/codeforamerica/clean/issues/333/events","html_url":"https://github.com/codeforamerica/clean/issues/333","id":57537206,"number":333,"title":"SendGrid limits email size","user":{"login":"daguar","id":994938,"avatar_url":"https://avatars.githubusercontent.com/u/994938?v=3","gravatar_id":"","url":"https://api.github.com/users/daguar","html_url":"https://github.com/daguar","followers_url":"https://api.github.com/users/daguar/followers","following_url":"https://api.github.com/users/daguar/following{/other_user}","gists_url":"https://api.github.com/users/daguar/gists{/gist_id}","starred_url":"https://api.github.com/users/daguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daguar/subscriptions","organizations_url":"https://api.github.com/users/daguar/orgs","repos_url":"https://api.github.com/users/daguar/repos","events_url":"https://api.github.com/users/daguar/events{/privacy}","received_events_url":"https://api.github.com/users/daguar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codeforamerica/clean/labels/airbrake","name":"airbrake","color":"ededed"},{"url":"https://api.github.com/repos/codeforamerica/clean/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"lippytak","id":2533112,"avatar_url":"https://avatars.githubusercontent.com/u/2533112?v=3","gravatar_id":"","url":"https://api.github.com/users/lippytak","html_url":"https://github.com/lippytak","followers_url":"https://api.github.com/users/lippytak/followers","following_url":"https://api.github.com/users/lippytak/following{/other_user}","gists_url":"https://api.github.com/users/lippytak/gists{/gist_id}","starred_url":"https://api.github.com/users/lippytak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippytak/subscriptions","organizations_url":"https://api.github.com/users/lippytak/orgs","repos_url":"https://api.github.com/users/lippytak/repos","events_url":"https://api.github.com/users/lippytak/events{/privacy}","received_events_url":"https://api.github.com/users/lippytak/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-12T23:35:09Z","updated_at":"2015-02-16T22:38:44Z","closed_at":"2015-02-16T22:34:12Z","body":"SendGrid limits the email size to 25MB (I think?). Also HSA may have a similar limit on their incoming email. We may want to send separate emails OR start temporarily storing and letting HSA download the applications.\r\n\r\nCheck full details on Airbrake: [#1354593294024253111](https://herokuapp29009168herokucom.airbrake.io/projects/108305/groups/1354593294024253111)\r\n\r\nBacktrace:\r\n```\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/sendgrid-ruby-0.0.3/lib/sendgrid-ruby.rb:29:in block in send\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:493:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:493:in process_result\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:421:in block in transmit\r\n[PROJECT_ROOT]/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/http.rb:853:in start\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:413:in transmit\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in execute\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/request.rb:41:in execute\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rest-client-1.7.2/lib/restclient/resource.rb:67:in post\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/sendgrid-ruby-0.0.3/lib/sendgrid-ruby.rb:24:in send\r\n[PROJECT_ROOT]/app/controllers/documents_controller.rb:76:in submit\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/implicit_render.rb:4:in send_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/base.rb:198:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rendering.rb:10:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb:20:in block in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:169:in block in halting\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in _run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in _run_process_action_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb:19:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rescue.rb:29:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb:31:in block in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in block in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in instrument\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb:30:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/params_wrapper.rb:250:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/railties/controller_runtime.rb:18:in process_action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/abstract_controller/base.rb:137:in process\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionview-4.2.0/lib/action_view/rendering.rb:30:in process\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:195:in dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal/rack_delegation.rb:13:in dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_controller/metal.rb:236:in block in action\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:73:in dispatch\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:42:in serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:43:in block in serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:in each\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb:30:in serve\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:802:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/etag.rb:24:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/conditionalget.rb:38:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/head.rb:13:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/params_parser.rb:27:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/flash.rb:260:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225:in context\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/cookies.rb:560:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/query_cache.rb:36:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:29:in block in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in _run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in _run_call_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in run_callbacks\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:27:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb:78:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:38:in call_app\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:in block in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in block in tagged\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in tagged\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in tagged\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:20:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/request_id.rb:21:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/methodoverride.rb:22:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/runtime.rb:18:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/static.rb:113:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/sendfile.rb:113:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/ssl.rb:24:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:518:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/application.rb:164:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/lock.rb:17:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/content_length.rb:15:in call\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89:in service\r\n[PROJECT_ROOT]/vendor/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in service\r\n[PROJECT_ROOT]/vendor/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in run\r\n[PROJECT_ROOT]/vendor/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in block in start_thread\r\n```"},"comment":{"url":"https://api.github.com/repos/codeforamerica/clean/issues/comments/74583447","html_url":"https://github.com/codeforamerica/clean/issues/333#issuecomment-74583447","issue_url":"https://api.github.com/repos/codeforamerica/clean/issues/333","id":74583447,"user":{"login":"lippytak","id":2533112,"avatar_url":"https://avatars.githubusercontent.com/u/2533112?v=3","gravatar_id":"","url":"https://api.github.com/users/lippytak","html_url":"https://github.com/lippytak","followers_url":"https://api.github.com/users/lippytak/followers","following_url":"https://api.github.com/users/lippytak/following{/other_user}","gists_url":"https://api.github.com/users/lippytak/gists{/gist_id}","starred_url":"https://api.github.com/users/lippytak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippytak/subscriptions","organizations_url":"https://api.github.com/users/lippytak/orgs","repos_url":"https://api.github.com/users/lippytak/repos","events_url":"https://api.github.com/users/lippytak/events{/privacy}","received_events_url":"https://api.github.com/users/lippytak/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T22:38:44Z","updated_at":"2015-02-16T22:38:44Z","body":"Yep - confirmed."}}