sqlite3 ~/Library/Mail/V6/MailData/Envelope\ Index vacuum;
Error: unable to open database "/Users/Me/Library/Mail/V6/MailData/Envelope Index":
unable to open database file
This happened after upgrading to Mojave. How can I get access to the database file?