Add punctuation: The application that you selected opens with the photos or videos from the selected albums or links attached to a new message
A: The application that you selected opens with the photos or videos from the selected albums or links, attached to a new message.

Add punctuation: Dogs can be afflicted with several types of tumors including in the mouth
A: Dogs can be afflicted with several types of tumors, including in the mouth.

Add punctuation: In 1781 the Palace hosted Cardinal Corsini during his pastoral visit
A:
In 1781 the Palace hosted Cardinal Corsini during his pastoral visit.