Send E-Mail from Is Single Doctypes

Why a Is Single doctype giving error when sending mail ?
Traceback here:

Traceback (most recent call last):
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/", line 61, in application
    response = frappe.handler.handle()
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/", line 21, in handle
    data = execute_cmd(cmd)
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/", line 56, in execute_cmd
    return, **frappe.form_dict)
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/", line 1026, in call
    return fn(*args, **newargs)
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/core/doctype/communication/", line 75, in make
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/model/", line 221, in insert
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/model/", line 731, in _validate_links
    invalid_links, cancelled_links = self.get_invalid_links()
  File "/home/frappe/benches/bench-2019-03-01/apps/frappe/frappe/model/", line 471, in get_invalid_links = doctype
AttributeError: 'NoneType' object has no attribute 'name'

Is it actually possible to send mail from is_single doctypes or not or there’s some bug ??

Came to find that to send email, name myst be present but in is Single that name is same as doctype name that’s why it was giving error

How did you resolve? I am running into the same issue.

Sorry for reviving an old thread. lol