I want to store emails into a database and then have them displayed properly in Ruby on Rails to the user (ideally with a nicely formatted, collapsible header, attachment support, etc). Is there already a good way to do this?
Right now, I store the emails to the database as a text, but I am struggling with a good way to display them to the user on the rails page?
Any suggestions? I am opening to changing the way I store the email to the database if there is a better way.
Thanks in advance!