Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do you setup email in your application and link it to a record

Tabish Iqbal asked in General

Hey Chris.

I have been trying to look online but haven't been successful in finding out the following. Say you made a CRM application in Rails and setup a pop3/imap email in the app. How would you take that email and associate it with a contact? If anyone has worked with Gmail Api - how do companies sync emails to contacts/companies with their apps?

Reply

To link emails to records in your Rails app, you can use libraries like Mail or Action Mailer to handle email parsing. For associating emails with contacts, you might store email data in your database and create associations between emails and contact records. If you’re working with Gmail API, you can use it to fetch emails and then match them to your contacts based on unique identifiers.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.