I'll probably get flamed for this response, but it don't cost ya nothing. :lol2:
All crabs are opportunistic scavengers. ALL of them. The theory is that emeralds are harmless herbivores. The reality of it is they will eat meat and attack snails IF they get the chance. I've seen emerald crabs attack a nessarius snail. Thats an easy attack too because a ness snail has a long foot thats easy to get at. The snail made a mad dash for the sand bed but the emerald dug him up and continued attacking. The snail was helpless. I've also seen emeralds attack bristle worms and rip them to shreds before eating them. And I've seen emeralds eat brine, mysis, krill etc...
Usually - I said USUALLY - they are peaceful when they are small. Most of them are happy to eat hair algae and bubble algae until their body gets about the size of a quarter. After they get that big, anything in the tank that moves or smells like food is fair game. They are CRABS.
I've never seen an emerald eat any type of coral.