Released UDF code today for FireUDFLib.
At present it contains a single function, SendMail, which allows you to send email using SQL, from any InterBase/Firebird server running on the Win32 platform.
It is planned to extend this to Linux (and possibly other Unix platforms)