add mail-switch.lua