Working from home is definitely not for everyone. For many people, working from home means more distractions and less productivity. For others, it means the ability to work your own hours and while still being an efficient employee. Yahoo has had a number of workers who work exclusively from home and CEO Marissa Mayer doesn't like that.

It surfaced late last week that Yahoo had told hundreds of workers that currently have work from home agreements in place that they have two options. One of those options is to stop working from home and begin coming into a Yahoo office effective in June. The other option for these work from home employees is to quit.

An e-mail marked proprietary and confidential has surfaced from Yahoo that says speed and quality are sacrificed when people work from home.

"To become the absolute best place to work, communication and collaboration will be important, so we need to be working side-by-side. That is why it is critical that we are all present in our offices. Some of the best decisions and insights come from hallway and cafeteria discussions, meeting new people, and impromptu team meetings. Speed and quality are often sacrificed when we work from home. We need to be one Yahoo!, and that starts with physically being together," the memo reads.

It remains unclear what exactly will happen to some of Yahoo's remote workers who don't live near a Yahoo office. AllThingsD reports that Yahoo staffers have written in complaining that they were initially hired under the assumption that they would be able to work remotely with more flexibility. Yahoo has now changed and has given these workers an ultimatum to come to the office or work somewhere else. Yahoo has offered no official comment on the move at this time.

Mayer recently said that the search deal with it and Bing was underperforming and it appears that she is doing everything possible to improve Yahoo's performance.