having autocomplete and gmaps for rails functionalities and try to integrate mailer