clean up code
ready
only send messages to emails
clean up messages