We recently updated the G4MS Send Email addon to allow you to specify the path to a file to use as a footer when sending an email.
To use this new feature, simply use the g4msmail_setValue() function and specify footer_stream_file as the value to set, and then the fully qualified path to the file to use as the footer.
Example:
g4msmail_setValue('footer_stream_file':'/myfiles/emailfooter.txt');
This update is in G4MSMAIL v7.60 which is included in G4MS v9.15 SP230329b or higher.
This function also allows the FOOTER parameter on the MAILTOOL command to function properly when sending using the *G4MSMAIL to send emails.