{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18","id":56449728,"html_url":"https://github.com/stephenmcd/django-email-extras/pull/18","diff_url":"https://github.com/stephenmcd/django-email-extras/pull/18.diff","patch_url":"https://github.com/stephenmcd/django-email-extras/pull/18.patch","issue_url":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/18","number":18,"state":"open","locked":false,"title":"Flexible body html type","user":{"login":"adibo","id":4396436,"avatar_url":"https://avatars.githubusercontent.com/u/4396436?v=3","gravatar_id":"","url":"https://api.github.com/users/adibo","html_url":"https://github.com/adibo","followers_url":"https://api.github.com/users/adibo/followers","following_url":"https://api.github.com/users/adibo/following{/other_user}","gists_url":"https://api.github.com/users/adibo/gists{/gist_id}","starred_url":"https://api.github.com/users/adibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adibo/subscriptions","organizations_url":"https://api.github.com/users/adibo/orgs","repos_url":"https://api.github.com/users/adibo/repos","events_url":"https://api.github.com/users/adibo/events{/privacy}","received_events_url":"https://api.github.com/users/adibo/received_events","type":"User","site_admin":false},"body":"A new keyword argument is introduced (body_html_type) to allow for setting mimetype in send_mail and send_mail_template() functions. It defaults to 'text/html', just as it was in the original code.\r\n\r\nThe change allows to e.g. correctly open encrypted emails in gmail with mailvelope. Such scenario requires to set body_html_type to 'application/pgp-encrypted' or 'text/plain'. Without it, using the default value, opening an email results in \"Error! Could not read this encrypted message: Error: Unknown ASCII armor type\" for the scenario.\r\n\r\nThe change is supposed to be neutral and extends the basic use and api. Thus, I hope it can be merged. Thanks in advance!\r\n\r\nAdrian","created_at":"2016-01-19T10:54:37Z","updated_at":"2016-01-19T10:54:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18/commits","review_comments_url":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18/comments","review_comment_url":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/18/comments","statuses_url":"https://api.github.com/repos/stephenmcd/django-email-extras/statuses/2b53baa6aa8f8c29aa1e22f55e6ede6013b562e0","head":{"label":"adibo:master","ref":"master","sha":"2b53baa6aa8f8c29aa1e22f55e6ede6013b562e0","user":{"login":"adibo","id":4396436,"avatar_url":"https://avatars.githubusercontent.com/u/4396436?v=3","gravatar_id":"","url":"https://api.github.com/users/adibo","html_url":"https://github.com/adibo","followers_url":"https://api.github.com/users/adibo/followers","following_url":"https://api.github.com/users/adibo/following{/other_user}","gists_url":"https://api.github.com/users/adibo/gists{/gist_id}","starred_url":"https://api.github.com/users/adibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adibo/subscriptions","organizations_url":"https://api.github.com/users/adibo/orgs","repos_url":"https://api.github.com/users/adibo/repos","events_url":"https://api.github.com/users/adibo/events{/privacy}","received_events_url":"https://api.github.com/users/adibo/received_events","type":"User","site_admin":false},"repo":{"id":48999583,"name":"django-email-extras","full_name":"adibo/django-email-extras","owner":{"login":"adibo","id":4396436,"avatar_url":"https://avatars.githubusercontent.com/u/4396436?v=3","gravatar_id":"","url":"https://api.github.com/users/adibo","html_url":"https://github.com/adibo","followers_url":"https://api.github.com/users/adibo/followers","following_url":"https://api.github.com/users/adibo/following{/other_user}","gists_url":"https://api.github.com/users/adibo/gists{/gist_id}","starred_url":"https://api.github.com/users/adibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adibo/subscriptions","organizations_url":"https://api.github.com/users/adibo/orgs","repos_url":"https://api.github.com/users/adibo/repos","events_url":"https://api.github.com/users/adibo/events{/privacy}","received_events_url":"https://api.github.com/users/adibo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adibo/django-email-extras","description":"PGP encrypted / multipart templated emails for Django","fork":true,"url":"https://api.github.com/repos/adibo/django-email-extras","forks_url":"https://api.github.com/repos/adibo/django-email-extras/forks","keys_url":"https://api.github.com/repos/adibo/django-email-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adibo/django-email-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adibo/django-email-extras/teams","hooks_url":"https://api.github.com/repos/adibo/django-email-extras/hooks","issue_events_url":"https://api.github.com/repos/adibo/django-email-extras/issues/events{/number}","events_url":"https://api.github.com/repos/adibo/django-email-extras/events","assignees_url":"https://api.github.com/repos/adibo/django-email-extras/assignees{/user}","branches_url":"https://api.github.com/repos/adibo/django-email-extras/branches{/branch}","tags_url":"https://api.github.com/repos/adibo/django-email-extras/tags","blobs_url":"https://api.github.com/repos/adibo/django-email-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adibo/django-email-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adibo/django-email-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/adibo/django-email-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adibo/django-email-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/adibo/django-email-extras/languages","stargazers_url":"https://api.github.com/repos/adibo/django-email-extras/stargazers","contributors_url":"https://api.github.com/repos/adibo/django-email-extras/contributors","subscribers_url":"https://api.github.com/repos/adibo/django-email-extras/subscribers","subscription_url":"https://api.github.com/repos/adibo/django-email-extras/subscription","commits_url":"https://api.github.com/repos/adibo/django-email-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/adibo/django-email-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/adibo/django-email-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/adibo/django-email-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/adibo/django-email-extras/contents/{+path}","compare_url":"https://api.github.com/repos/adibo/django-email-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adibo/django-email-extras/merges","archive_url":"https://api.github.com/repos/adibo/django-email-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adibo/django-email-extras/downloads","issues_url":"https://api.github.com/repos/adibo/django-email-extras/issues{/number}","pulls_url":"https://api.github.com/repos/adibo/django-email-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/adibo/django-email-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/adibo/django-email-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adibo/django-email-extras/labels{/name}","releases_url":"https://api.github.com/repos/adibo/django-email-extras/releases{/id}","created_at":"2016-01-04T13:46:37Z","updated_at":"2016-01-13T09:28:12Z","pushed_at":"2016-01-19T10:45:46Z","git_url":"git://github.com/adibo/django-email-extras.git","ssh_url":"git@github.com:adibo/django-email-extras.git","clone_url":"https://github.com/adibo/django-email-extras.git","svn_url":"https://github.com/adibo/django-email-extras","homepage":"","size":57,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stephenmcd:master","ref":"master","sha":"f12dc53215836a2f5a5ce4af57db8026254e3ce4","user":{"login":"stephenmcd","id":116385,"avatar_url":"https://avatars.githubusercontent.com/u/116385?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenmcd","html_url":"https://github.com/stephenmcd","followers_url":"https://api.github.com/users/stephenmcd/followers","following_url":"https://api.github.com/users/stephenmcd/following{/other_user}","gists_url":"https://api.github.com/users/stephenmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmcd/subscriptions","organizations_url":"https://api.github.com/users/stephenmcd/orgs","repos_url":"https://api.github.com/users/stephenmcd/repos","events_url":"https://api.github.com/users/stephenmcd/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmcd/received_events","type":"User","site_admin":false},"repo":{"id":692530,"name":"django-email-extras","full_name":"stephenmcd/django-email-extras","owner":{"login":"stephenmcd","id":116385,"avatar_url":"https://avatars.githubusercontent.com/u/116385?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenmcd","html_url":"https://github.com/stephenmcd","followers_url":"https://api.github.com/users/stephenmcd/followers","following_url":"https://api.github.com/users/stephenmcd/following{/other_user}","gists_url":"https://api.github.com/users/stephenmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmcd/subscriptions","organizations_url":"https://api.github.com/users/stephenmcd/orgs","repos_url":"https://api.github.com/users/stephenmcd/repos","events_url":"https://api.github.com/users/stephenmcd/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenmcd/django-email-extras","description":"PGP encrypted / multipart templated emails for Django","fork":false,"url":"https://api.github.com/repos/stephenmcd/django-email-extras","forks_url":"https://api.github.com/repos/stephenmcd/django-email-extras/forks","keys_url":"https://api.github.com/repos/stephenmcd/django-email-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenmcd/django-email-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenmcd/django-email-extras/teams","hooks_url":"https://api.github.com/repos/stephenmcd/django-email-extras/hooks","issue_events_url":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/events{/number}","events_url":"https://api.github.com/repos/stephenmcd/django-email-extras/events","assignees_url":"https://api.github.com/repos/stephenmcd/django-email-extras/assignees{/user}","branches_url":"https://api.github.com/repos/stephenmcd/django-email-extras/branches{/branch}","tags_url":"https://api.github.com/repos/stephenmcd/django-email-extras/tags","blobs_url":"https://api.github.com/repos/stephenmcd/django-email-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenmcd/django-email-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenmcd/django-email-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenmcd/django-email-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenmcd/django-email-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenmcd/django-email-extras/languages","stargazers_url":"https://api.github.com/repos/stephenmcd/django-email-extras/stargazers","contributors_url":"https://api.github.com/repos/stephenmcd/django-email-extras/contributors","subscribers_url":"https://api.github.com/repos/stephenmcd/django-email-extras/subscribers","subscription_url":"https://api.github.com/repos/stephenmcd/django-email-extras/subscription","commits_url":"https://api.github.com/repos/stephenmcd/django-email-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenmcd/django-email-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenmcd/django-email-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenmcd/django-email-extras/contents/{+path}","compare_url":"https://api.github.com/repos/stephenmcd/django-email-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenmcd/django-email-extras/merges","archive_url":"https://api.github.com/repos/stephenmcd/django-email-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenmcd/django-email-extras/downloads","issues_url":"https://api.github.com/repos/stephenmcd/django-email-extras/issues{/number}","pulls_url":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenmcd/django-email-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenmcd/django-email-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenmcd/django-email-extras/labels{/name}","releases_url":"https://api.github.com/repos/stephenmcd/django-email-extras/releases{/id}","created_at":"2010-05-29T12:17:42Z","updated_at":"2016-01-18T17:05:31Z","pushed_at":"2016-01-05T21:17:24Z","git_url":"git://github.com/stephenmcd/django-email-extras.git","ssh_url":"git@github.com:stephenmcd/django-email-extras.git","clone_url":"https://github.com/stephenmcd/django-email-extras.git","svn_url":"https://github.com/stephenmcd/django-email-extras","homepage":"","size":62,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18"},"html":{"href":"https://github.com/stephenmcd/django-email-extras/pull/18"},"issue":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/18"},"comments":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/stephenmcd/django-email-extras/statuses/2b53baa6aa8f8c29aa1e22f55e6ede6013b562e0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":7,"deletions":5,"changed_files":1}}