Currently, this feature is not available. The drip emails are made very, very basic on purpose. It's important that those emails get past spam filters and look hand written. Adding scripts and functions to them means that fewer of those messages will ever make it to your contacts inboxes.
Updated over a week ago