added email backup handler