{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/1266","repository_url":"https://api.github.com/repos/cantino/huginn","labels_url":"https://api.github.com/repos/cantino/huginn/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/1266/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/1266/events","html_url":"https://github.com/cantino/huginn/issues/1266","id":131006397,"number":1266,"title":"Custom subject line in EmailDigestAgent","user":{"login":"bobbysteel","id":295361,"avatar_url":"https://avatars.githubusercontent.com/u/295361?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbysteel","html_url":"https://github.com/bobbysteel","followers_url":"https://api.github.com/users/bobbysteel/followers","following_url":"https://api.github.com/users/bobbysteel/following{/other_user}","gists_url":"https://api.github.com/users/bobbysteel/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbysteel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbysteel/subscriptions","organizations_url":"https://api.github.com/users/bobbysteel/orgs","repos_url":"https://api.github.com/users/bobbysteel/repos","events_url":"https://api.github.com/users/bobbysteel/events{/privacy}","received_events_url":"https://api.github.com/users/bobbysteel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-03T12:12:55Z","updated_at":"2016-02-07T18:27:51Z","closed_at":"2016-02-05T14:09:24Z","body":"Hi - I'm having issues trying to create custom subject lines in my emails.\r\nMy config is as follows:\r\n\r\n`{\r\n  \"subject\": \"Alert: {{title}}\",\r\n  \"headline\": \"Description: {{description}}\",\r\n  \"expected_receive_period_in_days\": \"30\",\r\n  \"recipients\": \"me@me.com\"\r\n}`\r\n\r\nHowever this just leaves blanks where title and description would go.\r\nThe output from TriggerAgent to the EmailDigestAgent is as follows:\r\n`{\r\n  \"id\": \"http://www.com/x.html\",\r\n  \"date_published\": \"2016-02-01 01:49:22 +0000\",\r\n  \"last_updated\": \"Mon, 01 Feb 2016 01:49:22 +0000\",\r\n  \"url\": \"http://www.com/f.html\",\r\n  \"urls\": [\r\n    \"http://www.com/x.html\"\r\n  ],\r\n  \"description\": \"goes here\",\r\n  \"content\": \"goes here\",\r\n  \"title\": \"goes here\",\r\n  \"authors\": [\r\n    \"xxx\"\r\n  ],\r\n  \"categories\": [\r\n    \"xxxxx\"\r\n  ],\r\n  \"message\": \"my message\"\r\n}`\r\n\r\nThe inputs seem correct, but the agent doesn't seem to be dynamically generating the subject and title as I'd expect. Any ideas what looks wrong here? Thanks!"},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/181073777","html_url":"https://github.com/cantino/huginn/issues/1266#issuecomment-181073777","issue_url":"https://api.github.com/repos/cantino/huginn/issues/1266","id":181073777,"user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T18:27:51Z","updated_at":"2016-02-07T18:27:51Z","body":"Thanks!"}}