Email errors

Fresh install of 7.9.12, PHP 7.0, Ubuntu 16.04

I just finished configuring the email settings and can send test emails just fine, but when the system tries to send an email it does not send and I get this in the logs:

Fri Feb 16 11:57:01 2018 [2056][1][FATAL] SugarPHPMailer encountered an error: Invalid address: (addAnAddress to):
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates

Specifically, this happens when AOP tries to email the contact with AOP templates. I haven’t tested any other email scenario.

Actually the email will send on case open and case closed, but it will still log
“[2056][1][ERROR] Unable to find relationship emails_email_templates” 3 times

Only on case updates does it give the fatal error and not send, also giving the same error as above

I’m sorry, I notice now it ONLY doesn’t send when the contact updates (replies) via the Joomla extension. Every other situation seems to work but still logs this:

[2056][1][ERROR] Unable to find relationship emails_email_templates
[2056][1][ERROR] Unable to find relationship emails_email_templates
[2056][1][ERROR] Unable to find relationship emails_email_templates

Only when the Joomla user updates does it log this and not send:

Fri Feb 16 11:57:01 2018 [2056][1][FATAL] SugarPHPMailer encountered an error: Invalid address: (addAnAddress to):
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates
Fri Feb 16 11:57:02 2018 [2056][1][ERROR] Unable to find relationship emails_email_templates

So its really not urgent, it just bugs me to see constant errors in the logs.
And yes, I’ve done a quick repair as well as rebuild relationships.

Hello, I have this error too having upgraded to 7.10 from 7.8.9. This is actually quite a big problem because it is not possible to view emails so history is pretty useless.

Mon Mar  5 11:06:45 2018 [11313][67dc2662-e78d-d091-d41a-56549460d710][ERROR] Unable to find relationship emails_email_templates

Does anyone have a workaround? I tried manually creating the linking table in mysql but the error did not go away.