Work, connect to bd and gets emails