fixed MemoryStorage not found in mail erb