Improved code for getting recipient address
Sample email from mail.local and update code