facebook integration sql mailed