email xml as attachment