This is an example of how to access lotus email with python, please comment
from win32com.client import Dispatch
import smtplib
session = Dispatch(‘Lotus.Notessession’)
session.Initialize('xxxxx')
db = session.getDatabase("",'xxxxx\xxxxxx.nsf')
print db.Title
view = db.GetView('$Inbox')
print view.name
doc = view.GetFirstDocument
record = doc.GetItemValue('Body')
print doc.GetItemValue('Subject')
for line in record :
print line
print '##########################################################'
loop=0
while loop<4:
doc = view.GetNextDocument(doc)
record = doc.GetItemValue('Body')
print doc.GetItemValue('Subject')
for line in record :
print line
print '##########################################################'
loop=loop+1