Here is the sentence:
Attached to the email, Charlotte sent her boyfriend Byron another photographic
self-portrait with eerie red eyes.
Very impressive! You recognized that too many words separate the modifier from its target. Attached to the email, a participle phrase, is describing Charlotte when its target should be self-portrait.
To fix the problem, you should revise the sentence like this: Charlotte emailed her boyfriend Byron another photographic self-portrait with eerie red eyes.