By default devise sends confirmation email to old email if an email is changed. In my case where a user is allowed to create an account via Twitter login, his initial email is blank since Twitter API does not give user's email. Later if user wants to update his email id, i want to send him confirmation email on new email id since his old email id is blank.
How can I achieve this in devise with confirmation email going to new email. I know its a security hole to send confirmation email to new email, but for now we can live with this issue .