Refactor logic in stacks index.  Added clearer instructions to devise file for spam and junk folders.