We have a Gmail Contextual gadget that fires on every email. We use it for searching a database based on the email address of either the sender or the reciever.
When we have recieved the email we want to search using the email sender.
When we have sent the email we want to search using the email of the recipient/s.
With the current extractors we can grab the email addresses but how do we know if the email is Sent or Recieved?
Many thanks for your help here.