ivaldi / brimir

Email helpdesk built using Ruby on Rails and Zurb Foundation
http://getbrimir.com
GNU Affero General Public License v3.0
1.38k stars 299 forks source link

feature: import eml files as new tickets #374

Closed fiedl closed 7 years ago

fiedl commented 7 years ago

Sometimes, people who know the support staff in person, won't write emails to the support email address but to the agents' personal email addresses. We've tried really hard, but we can't get these clients to write to the support email address.

This workaround allows to upload email files (*.eml) from the local mail client and to import them as new tickets.

As uploading multiple files is supported, I guess, this can also be used when migrating to brimir in the first place.

How to

Click on "New ticket", then on "import emails".

bildschirmfoto 2017-06-13 um 09 43 31

bildschirmfoto 2017-06-13 um 09 45 37

bildschirmfoto 2017-06-13 um 09 46 27

bildschirmfoto 2017-06-13 um 09 45 58

After importing several emails from the same thread, it might be useful to merge them.

Caveats

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.008%) to 92.611% when pulling 905ee91683a77f1848d6880290b7a9beaf64a36d on fiedl:sf/email-import into eb17775b319798fab04031d661933824f57e4e5d on ivaldi:master.

frenkel commented 7 years ago

I used to do this by posting the eml file using curl :rofl:

Another great pull request, thank you! I don't think the caveats matter. It is indeed weird that we used updated_at instead of created_at.

I'm merging it and adding it to the CHANGELOG.md. In the future you may also add it to the CHANGELOG.md yourself if you like.