finishes the export graphic and mailer