When we create new recipient it is possible that we actually update an existing one. In such case Sendgrid API doesn't send back the recipient_id inside persisted_recipients array. We need to handle this because we can easily get this error: (MatchError) no match of right hand side value: []
When we create new recipient it is possible that we actually update an existing one. In such case Sendgrid API doesn't send back the recipient_id inside
persisted_recipients
array. We need to handle this because we can easily get this error:(MatchError) no match of right hand side value: []
Also I added search from Sendgrid API