-- --------------------------------------------------------------------- --
-- APM-2971 Zend Email class should be replaced with our own email class
-- Need table to save emails to send them later from Java
-- --------------------------------------------------------------------- --
CREATE TABLE `queue_email` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `from` varchar(320) NOT NULL,
  `to` text NULL,
  `cc` text NULL,
  `bcc` text NULL,
  `subject` tinytext NULL,
  `message` mediumtext NULL,
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
);