Add "treat p7m files without extension as emails"
(cherry picked from commit fc0d600b37c849d878d31c87d6b173cff3e3a213)