Incoming email (e.g. mail imported into the database via the fetch_activities scheduled job) is stored in the database as plain text (which is great).

However, when you view an inbound email activity, it is displayed without any line breaks, which makes it very difficult to read, especially if there is a long reply thread.

Does anyone know of a way to tell CiviCRM to add line breaks (nl2br or something) for just this one activity type? Or any other suggestions on improving the readability of incoming email messages?

  • This was fixed about 2 years ago I think, and I just checked now and it displays legibly with line breaks for me. Are you seeing it for all emails or just some?
    – Demerit
    Jan 14, 2020 at 23:34
  • Agree with @Demerit. I think the related gitlab for this problem is lab.civicrm.org/dev/core/issues/2. Can you mention the Civi version or upgrade if you're using any version below 4.7.31? Jan 15, 2020 at 11:13

1 Answer 1


Thank you @demerit and @jitendra for your help!

It turns out, the answer is: don't change the label for the Incoming Email activity type :).

The user changed it from Incoming Email to just Email. Changing the label should definitely not break things - but since this issue is still open, it does.

So, in the short term, I'll change the label back. In the long term, getting 1116 fixed would be ideal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.