sending confirmation emails with images now works