Hi Breno,
APEX is perhaps not really an option - the question really is can you do conditional code in an email without using Velocuty script - my guess is, based on the answer, it is not?
It's a feature gap really - Velocity works normally but does not work with dynamic content blocks.
N