I am using twilio authy API with PHP for sending verification code to the user in sms where Authy handles everything generation of a new code, sending to mobile and verification using its various APIs but now I need Authy to send code in email instead of sending code in SMS and all other features will be same like verification and generation of code at authy level.
How can I do that? Or can anybody suggest to me some other third party for that?
Actually I don't want to generate code myself and save it in my database but should be handled by some third party.