Attach files so that they can be previewed before download

Description

PDFs are attached from email with different mime types as if they were attached manually.
Other file types may also be affected.

Improve mime type extraction, so that PDFs can be previewed on click.

Environment

None

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Tibor Hegyi

Labels

None

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Components

Fix versions

Priority

Major
Configure