In GX Works3, set the FX5-ENET module parameters from Basic Settings - External Device Configuration Settings.
In the "Ethernet Configuration" screen, select "Mail server connection module" or "MQTT connection module" from "Module list" - "Ethernet device (General)."
After selecting, you can enable encrypted communication (TLS) by setting the protocol to "TLS."