fix empty mailboxes due to incomplete mail entries
What does this MR do?
Fixes broken mailboxes by filtering out from/to fields that are not set. The column will stay empty for those mails.
How confident are you it won't break things if deployed?
Should work
Links to related issues
https://yunity.slack.com/archives/C74JC2V26/p1576836199011100 https://sentry.io/organizations/foodsharing-ev/issues/1398163886/?project=1400917
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings