look at this, it uses the Current Session of Outlook:
Dim olObj
Set olObj = CreateObject("Outlook.Application"

Set MyNameSpace = olObj.getNameSpace("MAPI"

.getDefaultFolder(6)
Set myInboxItems = myNameSpace.Items
For i = 1 To 1
Set InbxItms = myInboxItems(i)
With InbxItms
WScript.Echo(i&vbTab&"UNREAD STATUS : " &.unread)
WScript.Echo(vbTab&"DATE : "&.CreationTime)
WScript.Echo(vbTab&"FROM : "&.sendername)
WScript.Echo(vbTab&"TO : "&.to)
WScript.Echo(vbTab&"SUBJECT : "&.subject)
If .attachments.count = 0 Then
WScript.Echo(vbTab&"ATTACHMENTS : NONE"

else
For p = 1 To .attachments.count
WScript.Echo(vbTab&"ATTACHMENT : " &.attachments(p))
.SaveAs "c:\temp\"&.attachments(p)
Next
end If
.close(i)
End With
WScript.Echo("-------------------------------------------------------------"
next
Set myItem = nothing
Set myItems = nothing
Set myInbox = nothing
Set MyNameSpace = Nothing
Set olObj = Nothing