Yes, you can use a script or command line to convert EMLX files to TGZ on a Mac. Here's a simple way to do it first
Open Terminal on your Mac.
Collect all EMLX files into a folder if they aren't already in one.
Use the tar command to compress the folder into a TGZ file. Here's the command:
bash
tar -czf output_name.tgz /path/to/your/emlx/folder
Replace /path/to/your/emlx/folder with the actual path where your EMLX files are stored, and output_name.tgz with the name you want for your TGZ file.
This will create a TGZ file containing your EMLX files. It's a simple, free method that works directly on your Mac using the Terminal. you can also use a third party tool like Dailysoft EMLX converter tool.