Hello,
I am trying to send an email from a lua script with this line :
freeswitch.email(to, from, headers, body, file, convert_cmd, convert_ext)
But when I execute the script I have an error :

-----------------------------------------------------------------------------

011-10-06 11:01:18.320247 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/voicemail.lua:43: attempt to call field 'email' (a nil value)
stack traceback:
        /usr/local/freeswitch/scripts/voicemail.lua:43: in main chunk

-----------------------------------------------------------------------------

Do you have an idea how solve this problem ?

Thanks

Briac GAUTIER DE CHARNACE