Solved the issue with mail inclusion, where class ActionMailer::Base#mail method completely hides the module method