{"action":"opened","issue":{"url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/172","labels_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/172/comments","events_url":"https://api.github.com/repos/sendgrid/sendgrid-nodejs/issues/172/events","html_url":"https://github.com/sendgrid/sendgrid-nodejs/issues/172","id":90469160,"number":172,"title":"`setSendAt` not working if using heroku addon \"Starter\" account ","user":{"login":"codynguyen","id":252787,"avatar_url":"https://avatars.githubusercontent.com/u/252787?v=3","gravatar_id":"","url":"https://api.github.com/users/codynguyen","html_url":"https://github.com/codynguyen","followers_url":"https://api.github.com/users/codynguyen/followers","following_url":"https://api.github.com/users/codynguyen/following{/other_user}","gists_url":"https://api.github.com/users/codynguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/codynguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codynguyen/subscriptions","organizations_url":"https://api.github.com/users/codynguyen/orgs","repos_url":"https://api.github.com/users/codynguyen/repos","events_url":"https://api.github.com/users/codynguyen/events{/privacy}","received_events_url":"https://api.github.com/users/codynguyen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-23T19:19:19Z","updated_at":"2015-06-23T19:19:19Z","closed_at":null,"body":"Hi,\r\n\r\nI'm having an issue where `setSendAt` works (emails are scheduled correctly as programmed) when using a Sendgrid account that I manually registered from the Sendgrid website, but fails (emails are sent instantly instead of being scheduled) if using a Sendgrid account taken from a heroku app with \"Starter\" Sendgrid addon. I've tried this many times using different heroku apps / addons but the problem still exists so I think there's some limitations in the Sendgrid Starter addon accounts. I've tried searching but it seems there's no online documents regarding this matter.\r\n\r\nBelow is the code snippet I'm using (in my ExpressJS project):\r\n\r\n```\r\nvar email = new sendgrid.Email({\r\n  to: user.email,\r\n  from: 'hello@me.com',\r\n  subject: 'Welcome to XXX!',\r\n  html: _.template(data)({request: req})\r\n});\r\nemail.setSendAt((Date.now() / 1000) + (60 * 60 * 24)); // Delay 24 hours\r\nsendgrid.send(email, function(err, json) { });\r\n```\r\n\r\nPlease let me know if my suspicion is right. Thanks!"}}