mailersend / mailersend-nodejs

The official MailerSend Node.js SDK
https://developers.mailersend.com
MIT License
125 stars 17 forks source link

Please add get identity by email operation #74

Open hpsmatheus opened 1 year ago

hpsmatheus commented 1 year ago

Sometimes you want to check if certain identity is verified and you don't have their id available. So you have to use get list operation which is not good for performance as you can only get 100 records max per request (I'm having to loop on this request to make sure I'm checking the whole list looking for the given identity).

Please make it available on the API also. Thanks in advance!

Agathe-Brusset commented 1 year ago

Hi @hpsmatheus ! Thanks for the suggestion; we'll work on this :) In the meantime, you have the verified/unverified status on the UI. Have a great day!

hpsmatheus commented 1 year ago

@Agathe-Brusset thanks for the response. The status on the UI unfortunately is not helpful in this case, I have to verify it dynamically in my backend. Looking forward for the new implementations!

Agathe-Brusset commented 1 year ago

Hello @hpsmatheus ! We just implemented this on our API, check it out here. Let me know how it works for you!

hpsmatheus commented 1 year ago

@Agathe-Brusset that will be very helpful! thanks for letting me know!