Must you do this every time you scan?First i think this post should be elsewhere, anyway when I scan something on my mac I usually go to file in the scanning program > select move to > than desktop. Than i open mail and drag the scanned image file i moved to the desktop to the email and it automatically recognises itself as an attachment. Hope this helps.
Which email program were you using, and how did you try and attch it to the email.