@@ -0,0 +1,1294 @@
+import engine%0A%0Afrom sqlalchemy.ext.declarative import declarative_base%0Afrom sqlalchemy import MetaData, Table%0Afrom sqlalchemy import Column, Integer, String, Text%0A%0ABase = declarative_base()%0A%0Aclass Message(Base):%0A  __tablename__ = 'messages'%0A%0A  id         = Column(Integer, primary_key=True)%0A  recipient  = Column(String(255))%0A  sender     = Column(String(255))%0A  who_from   = Column(String(255))%0A  subject    = Column(String(255))%0A  body_plain = Column(Text)%0A  stripped_text = Column(Text)%0A  timestamp  = Column(Integer)%0A  signature  = Column(String(255))%0A  message_headers = Column(Text)%0A%0A  def __init__(self, name, fullname, password):%0A    pass%0A%0A  def __repr__(self):%0A    return %22%3CMessage('%25s','%25s', '%25s')%3E%22 %25 (self.name, self.fullname, self.password)%0A%0Aif __name__ == %22__main__%22:%0A  engine = engine.build_engine()%0A%0A  metadata = MetaData(bind=engine)%0A  messages_table = Table('messages', metadata,%0A    Column('id', Integer, primary_key=True),%0A    Column('recipient', String(255)),%0A    Column('sender', String(255)),%0A    Column('who_from', String(255)),%0A    Column('subject', String(255)),%0A    Column('body_plain', Text),%0A    Column('stripped_text', Text),%0A    Column('timestamp', Integer),%0A    Column('signature', String(255)),%0A    Column('message_headers', Text),%0A  )%0A%0A  metadata.create_all()%0A

Add Message SQLAlchemy class.