Export with attachment works with predefined email account and gmail authentication