The app doesn't have access to your gallery. When you press the button to add an attachment, it likely brings up the photo picker or your file manager, is that correct? Then, you pick one or multiple files/images from there, and that's what the app gets access to. It can only access what you select, not everything else.