CREATE TABLE  usuario (
  id 							BIGINT NOT NULL AUTO_INCREMENT,
  name                                                  VARCHAR(32) DEFAULT NULL,
  passw 						VARCHAR(32) DEFAULT NULL,
  PRIMARY KEY  (id)
) ENGINE=InnoDB;
CREATE TABLE  mail (
  id 							BIGINT NOT NULL AUTO_INCREMENT,
  userid 						BIGINT NOT NULL,
  sender 						VARCHAR(64) DEFAULT NULL,
  receiver                                              VARCHAR(64) DEFAULT NULL,
  subject 						VARCHAR(64) DEFAULT NULL,
  texto							VARCHAR(128) DEFAULT NULL,
  tipo							VARCHAR(1) DEFAULT NULL,
  PRIMARY KEY  (id)
) ENGINE=InnoDB;

----------

INSERT INTO usuario (name, passw) values ('admin', 'pass');
INSERT INTO usuario (name, passw) values ('alejandro', 'pass');
INSERT INTO usuario (name, passw) values ('ezequiel', 'pass');
INSERT INTO usuario (name, passw) values ('gerardo', 'pass');
INSERT INTO usuario (name, passw) values ('raul', 'pass');
INSERT INTO usuario (name, passw) values ('tester', 'pass');

INSERT INTO mail (userid, sender, receiver, subject, texto) values (1, 'yo', 'alguien', 'un titulo', 'este el el body');