try to get the singleton class done for importing
fixed mail task