Hi,

Whenever I archive an email into sugarcrm using the outlook plugin, where is the relationship to the contact defined.. Heres the entry under the emails table with the parent_id field null

mysql> select * from emails where id='e33807d4-bc3e-3919-31d7-4f1f61b22f87' \G
*************************** 1. row ***************************
id: e33807d4-bc3e-3919-31d7-4f1f61b22f87
date_entered: 2012-01-25 01:58:56
date_modified: 2012-01-25 01:59:39
assigned_user_id: e6cfe9f0-68e2-5839-bf4c-4828405f565e
modified_user_id: e6cfe9f0-68e2-5839-bf4c-4828405f565e
created_by: e8253c52-ce36-2a83-463a-4f175aa83693
team_id: 1
deleted: 0
date_sent: 2012-01-25 01:59:00
message_id: <02b301ccdb05$027e1ac0$077a5040$@com>
name: test test test
type: inbound
status: read
intent: pick
mailbox_id: NULL
parent_type: NULL
parent_id: NULL
flagged: 0
reply_to_status: 0
team_set_id: 1
1 row in set (0.00 sec)

However when I go to see the email archived in sugarcrm it has a contact association. I looked under email_beans for this email_id and its not there??

Hows the relationship defined, under which table tot he contact>??