MATLAB: Downloading/read gmail mensages

gmailoutlookread email

Hello,
I need to downloading my email's body from gmail. I connected my gmail on outlook and tried READMAIL by David Willingham but a had this error:
Error using Interface.00063041_0000_0000_C000_000000000046/Item
Invoke Error, Dispatch Exception:
Source: Microsoft Outlook
Description: Índice de matriz fora dos limites.
Error in readmail (line 14)
firstemail=INBOX.Items.Item(count); %imports the most recent email
Is there any other way to read my gmail's with matlab.
Thanks in advance. Leandro

Best Answer

If you have the Database Toolbox you can follow this HowTo