I have the same error. Looking at the code I cannot find out the problem. I believe it is on Send Grid’s side.
Line 18: $response = json_decode( $response[‘body’], true );
The error happens around 1 in 10 page loads. Very annoying. I went back to the old version. No problems.