Fixed exporting bug using Mail app.