Deleting photo attachments from your email will remove them from that specific email thread but won't affect their presence in other emails or your Gmail account storage. If you want to delete them permanently, you should also delete them from Google Photos or the location where you have backed them up.