Having just tested this - never having used the feature before - clicking to send a photo as an email attachment immediately opened my default email client, in my case, Outlook. Hence, I suspect PM searches for your default email client and opens it automatically. If you do not have an email client, or use a web-based email app, like GMail, it may not be possible to do send a photo from within PM.