Added the sql insert into email table. Cross your fingers because if this doesn't work imma cry forever.