email data as attachment