Automating Ghost and SendGrid takes no code: a ready-made scenario does the routine for you.
Starts when: Schedule Trigger
Then: HTTP Request - News API
Then: Item Lists
Then: OpenAI - Analyze News
Then: Set Blog Post
Then: WordPress - Create Post
Starts when: Error Handler
Then: Send Error Email
You can launch this Ghost + SendGrid integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.