How to send email base on location data