Index: branches/5.1.x/core/install/install_schema.sql
===================================================================
diff -u -r13780 -r13824
--- branches/5.1.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 13780)
+++ branches/5.1.x/core/install/install_schema.sql	(.../install_schema.sql)	(revision 13824)
@@ -1105,11 +1105,13 @@
   LogStatus tinyint(3) unsigned NOT NULL DEFAULT '2',
   LastUpdatedOn int(10) unsigned DEFAULT NULL,
   Notes text,
+  MessageId varchar(255) DEFAULT NULL,
   PRIMARY KEY (FormSubmissionId),
   KEY FormId (FormId),
   KEY SubmissionTime (SubmissionTime),
   KEY LogStatus (LogStatus),
-  KEY LastUpdatedOn (LastUpdatedOn)
+  KEY LastUpdatedOn (LastUpdatedOn),
+  KEY MessageId (MessageId)
 );
 
 CREATE TABLE SubmissionLog (
@@ -1162,6 +1164,7 @@
   RequireLogin tinyint(4) NOT NULL DEFAULT '0',
   UseSecurityImage tinyint(4) NOT NULL DEFAULT '0',
   EnableEmailCommunication tinyint(4) NOT NULL DEFAULT '0',
+  ProcessUnmatchedEmails tinyint(4) NOT NULL DEFAULT '0',
   ReplyFromName varchar(255) NOT NULL DEFAULT '',
   ReplyFromEmail varchar(255) NOT NULL DEFAULT '',
   ReplyCc varchar(255) NOT NULL DEFAULT '',
@@ -1179,7 +1182,8 @@
   PRIMARY KEY (FormId),
   KEY UseSecurityImage (UseSecurityImage),
   KEY RequireLogin (RequireLogin),
-  KEY EnableEmailCommunication (EnableEmailCommunication)
+  KEY EnableEmailCommunication (EnableEmailCommunication),
+  KEY ProcessUnmatchedEmails (ProcessUnmatchedEmails)
 );
 
 CREATE TABLE Semaphores (
