before, the email body was not correctly set to the Intent when multiple attachments were set
changing that part of the code resulted in repeating the same code to set email body in three places so I refactore the method a bit to only need one if that causes the text to be set to the Intent
if
that causes the text to be set to the Intent