Creating document from email | email_account.pull error

I have created an app “wft” with a docType, the docType is defined with “Allow Import” and “Allow document creation via Email”

But upon trying to create the document from the email the below error is seen - looks like the module for the app is not found!!!

If i open console via bench i have no problem importing “wft”…

What am i missing?

Traceback (most recent call last):
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/utils/caching.py", line 55, in wrapper
    return frappe.local.request_cache[func][args_key]
KeyError: 5740354900026072187

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/erpnext/frappe-bench/env/lib/python3.10/site-packages/rq/worker.py", line 1075, in perform_job
    rv = job.perform()
  File "/opt/erpnext/frappe-bench/env/lib/python3.10/site-packages/rq/job.py", line 854, in perform
    self._result = self._execute()
  File "/opt/erpnext/frappe-bench/env/lib/python3.10/site-packages/rq/job.py", line 877, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 188, in execute_job
    method_name = cstr(method.__name__)
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 1511, in get_hooks
    hooks = _dict(_load_app_hooks())
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/utils/caching.py", line 57, in wrapper
    return_val = func(*args, **kwargs)
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 1480, in _load_app_hooks
    app_hooks = get_module(f"{app}.hooks")
  File "/opt/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 1342, in get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'wft'