Keep the lines of communication open with the mortgage company. Find out who the title company was that closed on the property when you purchased it and advise them of the situation. Make sure all communications are in writing (email, letters, etc.) You may need to contact a Real Estate Attorney.
Contact your real estate agent and the title company that closed the house for you. If you purchased title insurance you should be fully protected. If they can't give you the answers you need then contact an attorney.
Was the property taken subject to? In other words, was the previous mortgage paid off? If it was, there is no legal way for them to foreclose (unless they are BoA, and then apparently different rules apply!).
Feel free to give me a call and I can help sort it out.