When you say that "If the mails empty..." do you mean that the
Outlook email body is empty or the folder is empty?

I found part of the problem with the function - OpenOutlookEmail.
The passed variable declaration is spelled wrong (my dyslexia!).
VB Code:
  1. Private Function OpenOutlookEmail(ByVal [color=red]oEmailEntryID[/color] As String)
  2.    
  3.     Dim oDisplayEmail As Outlook.MailItem
  4.    
  5.     Set oDisplayEmail = oInbox.Items.Find("[EntryID] = '" & oEmailEntryID & "'")
  6.     If TypeName(oDisplayEmail) <> "Nothing" Then
  7.         oDisplayEmail.Display 'THE USE CAN MAKE CHANGES AND SAVE THEM TO OUTLOOK
  8.     Else
  9.         MsgBox "Email not found in Outlook!", vbOKOnly + vbExclamation
  10.     End If
  11.  
  12. End Function
Give me a minute and I will figure it out.